Skip to content

Releases: webship/webship-js

1.0.46

25 Nov 04:12

Choose a tag to compare

This release improves test clarity and reliability by merging duplicate (not) step definitions and making AJAX-generated dialog HTML accessible to step definitions. It also introduces new Radio Button step definitions for selection and validation, along with an AJAX waiting step for more stable handling of asynchronous actions.

  • Added merging duplicate step definitions that differ only by the (not) condition #231
  • Added making AJAX-generated dialog HTML visible to step definitions #233
  • Added Radio Button Step Definitions (Selection, Validation) #234
  • Added AJAX Waiting Step Definition #235

1.0.45

22 Sep 04:27

Choose a tag to compare

This release includes improvements to the webship-js API, making the domain dynamic in the feature and allowing flexible phrasing by making "I am" optional as "I am / We are" and "I" optional as "I / We". Additionally, a bug fix was applied to resolve the issue when clicking "text" in a table row.

  • Improve webship-js API: Change the domain to be dynamic in feature #229
  • Improve webship-js API: Change - I am - as optional I am/ We are #228
  • Improve webship-js API: Change I as optional I / We #227
  • Fix: When I click "operation" in "text" row #226

1.0.44

13 Sep 14:50

Choose a tag to compare

All step definitions in WebApiExtension have been converted to Node.js to align with webship-js standards and ensure consistency across automated testing.

Convert all step definitions in WebApiExtension to Node.js #224

1.0.43

31 Aug 04:29

Choose a tag to compare

Added a new step definition to handle table row interactions, making it easier to test scenarios involving tabular data. Additionally, the project setup has been updated to use npm instead of Yarn for installation and testing.

  • Added step definitions for table row interactions #221
  • Changed from Yarn to npm for installation and testing #222

1.0.42

15 Jul 19:17

Choose a tag to compare

Upgraded Node.js from 18.x to 20.x for improved performance and support. Added scroll left and right step definitions to webship-js for better horizontal scrolling test coverage.

  • Added comprehensive scroll left and right step definitions for the webship-js testing framework #215
  • Upgraded nodejs from 18.x to 20.x #213

1.0.41.1

02 Jun 02:49

Choose a tag to compare

The sub-release contains a simple change: moving (Before, After, BeforeStep, AfterStep) from the standalone file to the webship.js file, and changing the after-step global variable time from 1000 to 0.

  • Moved Before, After, BeforeStep, AfterStep from standalone file to webship.js file #208
  • Change the after-step global variable time from 1000 to 0 #209

1.0.41

01 Jun 03:18

Choose a tag to compare

This release introduces several improvements to the automated testing framework. Global variables have been added to define minimum wait durations, ensuring consistent timing across tests. Additionally, the testing context has been enhanced across all step definitions, contributing to more stable and reliable test execution. Finally, an issue with the remote file attachment step in features has been resolved, improving functionality in scenarios that require file uploads.

  • Added global variables to specify minimum wait durations #205
  • Improved the automated testing context for all step definitions #206
  • Fixed the remote attaching of files step definition in features #204

1.0.40

25 May 13:58

Choose a tag to compare

This update adds new scroll steps, improves button click steps, and makes selecting options easier with a single step. We've also fixed a typo in step names (pronounCase) and cleaned up spacing in Gherkin examples.

  • Added comprehensive scroll step definitions for webship-js testing framework #201
  • Added Check pressing a selected button with optional the and optional button #198
  • Changed selecting an option from a select list to be in a single-step definition #200
  • Changed pronoundCase to pronounCase for all step definitions #199
  • Fixed spacing for example Gherkin features with Gherkin Beautifier #202

1.0.39

18 May 02:00

Choose a tag to compare

New additions include a step definition for scrolling to the bottom of the page, a condition to wait for the tag before actions, and a config to hide console log messages from test output.

  • Added a step defection for scrolling the page to the bottom #196
  • Added a condition to wait for the body tag to be present before performing any action #193
  • Added config to hide console log messages from the testing output #194
  • Changed the implementation of the findByText function to be exact #191
  • Changed the definition tool to be optional in step definitions #192
  • Changed organizing scenarios and their feature steps more clearly in the Gherkin definitions #195

1.0.38

01 May 08:08

Choose a tag to compare

A new step definition has been added to verify that an element's link contains the expected URL, based on its text label and attributes, with the "title" attribute used for easier identification.

Additionally, shortcuts for seconds and minutes have been added next to the waiting time value for improved readability.

Added a step definition to verify that a specific element's link contains the expected URL #183
Added a step definition to verify that a specific element's link includes the expected URL based on its attributes #184
Added an element search by its title attribute to the step definition to verify that a specific element's link contains the expected URL by attribute #185
Added shortcuts for seconds and minutes next to the waiting time value #189
Updated Then I should see step definition code #187
Updated Then I should not see step definition code #188