File tree Expand file tree Collapse file tree 6 files changed +204
-219
lines changed
Expand file tree Collapse file tree 6 files changed +204
-219
lines changed Original file line number Diff line number Diff line change 99 test :
1010 strategy :
1111 matrix :
12- version : [ 22 ]
12+ version : [ 22, 24 ]
1313 runs-on : ubuntu-latest
1414 steps :
1515 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
1010:pencil : - chore
1111:microscope : - experimental
1212
13+ ## [ 2.1.0]
14+ - :rocket : added page object logging
15+
1316## [ 2.0.2]
1417- :beetle : added export of page object ` locator ` function
1518
Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ qavajs implementation for cypress runner
33
44## Installation
55
6- ` npm install @qavajs/cypress @qavajs/cypress-runner-adapter @qavajs/memory `
6+ ```
7+ npm install @qavajs/cypress @qavajs/cypress-runner-adapter @qavajs/memory
8+ ```
79
810## Configuration
911cypress.config.js
@@ -21,7 +23,7 @@ module.exports = defineConfig({
2123});
2224
2325```
24- support file
26+ support file defines steps and loads qavajs entities (memory and page object)
2527``` typescript
2628import defineQavajs from ' @qavajs/cypress/defineQavajs' ;
2729import ' @qavajs/cypress' ;
@@ -39,11 +41,17 @@ defineQavajs({
3941
4042## Development and testing
4143Install dependencies
42- ` npm install `
44+ ```
45+ npm install
46+ ```
4347
4448
4549Execute tests
46- ` npm run test `
50+ ```
51+ npm run test
52+ ```
4753
4854Debug tests
49- ` npm run debug `
55+ ```
56+ npm run debug
57+ ```
Original file line number Diff line number Diff line change @@ -88,5 +88,5 @@ export function element(path) {
8888 }
8989 method = 'find' ;
9090 }
91- return current
91+ return current . as ( path )
9292}
You can’t perform that action at this time.
0 commit comments