Skip to content

Commit

Permalink
Development (#193)
Browse files Browse the repository at this point in the history

WDIO scripts added


---------
  • Loading branch information
tudorgabriel committed Mar 27, 2024
1 parent 771ab70 commit 6ac7a76
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion wdio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"@wdio/mocha-framework": "^8.32.4",
"@wdio/spec-reporter": "^8.32.4",
"ts-node": "10.9.2",
"typescript": "5.3.3"
"typescript": "5.3.3",
"wdio-safaridriver-service": "1.0.0"
},
"scripts": {
"wdio": "wdio run ./wdio.conf.ts",
Expand Down
2 changes: 1 addition & 1 deletion wdio/test/specs/PemScreen/PemSpec.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('Sign transactions with PEM', () => {
await cancelTrasaction();
});

it.only('should return error for invalid confirmation PEM', async () => {
it('should return error for invalid confirmation PEM', async () => {
await notConfirmPem();
});

Expand Down
9 changes: 5 additions & 4 deletions wdio/wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ export const config: Options.Testrunner = {
]
},
acceptInsecureCerts: true
},
{
browserName: 'safari'
}
],

Expand All @@ -44,10 +47,8 @@ export const config: Options.Testrunner = {
connectionRetryTimeout: 120000,
connectionRetryCount: 2,
framework: 'mocha',
groupLogsByTestSpec:true,

reporters: ['spec','concise'],

groupLogsByTestSpec: true,
reporters: ['spec', 'concise'],
mochaOpts: {
ui: 'bdd',
timeout: 120000
Expand Down

0 comments on commit 6ac7a76

Please sign in to comment.