Changelog
1.1.1 Latest
Section titled “1.1.1 ”LatestFix Fixed tests exit code when tests fail. Previously, the exit code was always 0, which could lead to confusion when running tests in CI/CD pipelines.
Feature Introduced new assertion methods for the DOMElement
object, leveraging gf.retryIfFails
to ensure reliable validation of element states.
The newly added methods include:
- element.waitForAttributes
- element.waitForClasses
- element.waitForPositionOnScreen
- element.waitForSize
- element.waitForStyles
- element.waitForText
- element.waitForValue
- element.waitForVisibility
- element.waitForVisibilityInScrollableArea
Feature Added the gf.scrollTo method to scroll the page to a specific position.
Feature Added the gf.scrollToTop method to scroll the page to the top.
Feature Added the gf.scrollToBottom method to scroll the page to the bottom.
Fix Fixed the element.scrollIntoView
method to correctly identify the nearest scrollable container when none is explicitly provided through the arguments.
Fix Resolved a random error where the WebSocket failed to locate an element with a specific ID while the tests are running.
Fix Resolved an issue where the player would unexpectedly stop when gf
methods were used without providing a required element selector.
Fix Fixed the missing core\commands\setup-mocha.js
file error when executing the npx gameface-e2e
.
New Official release of the Gameface E2E testing framework.
New Added public documentation for the framework.
New Introduced support for testing data bindings in the UI.
New Added additional examples of how to test data bindings in the UI.
Feature Added methods to test data bindings by creating and updating models.
Feature Added methods to test data bindings by triggering and listening to engine events.
New Introduced support for UI interactions.
New Added additional examples for keyboard and mouse interactions.
Feature Enabled support for keyboard and mouse interactions.
Feature Added methods for scrolling elements into view within scrollable containers.
Feature Enabled support for spawning multiple test processes.
Feature Added runtime script execution support via the gf.executeScript
method.
New Added more test examples in the examples
folder of the gameface-e2e
npm package.
New Introduced the gf
object and DOMElement
object for UI interactions. The gf
object provides global utilities, while the DOMElement
object represents specific DOM elements for interaction.
Feature Added methods to access UI elements.
Feature Added methods to validate UI elements.
Feature Introduced navigation to specific URLs via gf.navigate(url)
.
Initial release of the e2e testing framework.
New Enabled the framework to spawn the Gameface player and execute tests.
New Added configuration file support, allowing users to specify the path to Player.exe
and test files.