Skip to content

Commit a9ed3fa

Browse files
Merge pull request #12 from qavajs/remove-alias-page-object
removed alias assignment in page object
2 parents 48b1298 + 4fc735d commit a9ed3fa

File tree

5 files changed

+30
-17
lines changed

5 files changed

+30
-17
lines changed

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,18 @@ on:
77
release:
88
types: [created]
99

10+
permissions:
11+
id-token: write
12+
contents: read
13+
1014
jobs:
1115
publish-npm:
1216
runs-on: ubuntu-latest
1317
steps:
1418
- uses: actions/checkout@v4
1519
- uses: actions/setup-node@v4
1620
with:
17-
node-version: 22
21+
node-version: 24
1822
registry-url: https://registry.npmjs.org/
1923
- run: npm ci
2024
- run: npm publish --access public
21-
env:
22-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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.3.1]
14+
- :x: removed alias assignment in page object
15+
1316
## [2.3.0]
1417
- :rocket: added `into` preposition to type and type chars steps
1518
- :x: removed iframe steps

lib/pageObjects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@ export function element(path) {
8888
}
8989
method = 'find';
9090
}
91-
return current.as(path);
91+
return current;
9292
}

package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qavajs/cypress",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "qavajs for cypress runner",
55
"main": "index.js",
66
"scripts": {
@@ -16,11 +16,19 @@
1616
"cucumber",
1717
"cucumberjs"
1818
],
19+
"repository": {
20+
"type": "git",
21+
"url": "git+https://github.com/qavajs/cypress.git"
22+
},
23+
"bugs": {
24+
"url": "https://github.com/qavajs/cypress/issues"
25+
},
26+
"homepage": "https://github.com/qavajs/cypress#readme",
1927
"author": "Alexandr Galichenko",
2028
"license": "MIT",
2129
"devDependencies": {
2230
"@qavajs/cypress-runner-adapter": "^1.3.0",
23-
"@qavajs/memory": "^1.10.2",
24-
"cypress": "^15.3.0"
31+
"@qavajs/memory": "^1.10.3",
32+
"cypress": "^15.4.0"
2533
}
2634
}

0 commit comments

Comments
 (0)