Skip to content

Commit

Permalink
chore(test): Updated test with byType
Browse files Browse the repository at this point in the history
  • Loading branch information
saikrishna321 committed Jul 10, 2024
1 parent 8af6ce8 commit 3080f08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
name: Install dev dependencies
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.npm_token }}
name: Release
3 changes: 2 additions & 1 deletion test/specs/test.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ async function performLogin(userName = 'admin', password = '1234') {

await browser.flutterByValueKey$('password_text_field').clearValue();
await browser.flutterByValueKey$('password').addValue(password);
await browser.flutterByValueKey$('login_button').click();
expect(await browser.flutterByType$('ElevatedButton').flutterByType$("Text").getText()).toEqual('Login');
await browser.flutterByType$('ElevatedButton').click();
}

async function openScreen(screenTitle) {
Expand Down

0 comments on commit 3080f08

Please sign in to comment.