Skip to content

Commit 69fea13

Browse files
pushpam5arjunattam
andauthored
feat: new interfaces for device and driver (#8)
* chore: refactored appwright code * chore: refactored appwright code * fix: replaced timer with retry and handled stale error * fix: boxing in test.step * Update src/providers/driver/webdriver/index.ts Co-authored-by: Arjun Attam <arjunattam@gmail.com> * fix: resolved comments * chore: refactored fill method and removed console logs --------- Co-authored-by: Arjun Attam <arjunattam@gmail.com>
1 parent a569f95 commit 69fea13

File tree

22 files changed

+3578
-842
lines changed

22 files changed

+3578
-842
lines changed

.eslintrc.js

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,3 @@
11
module.exports = {
2-
extends: ["eslint:recommended", "prettier"],
3-
plugins: ["import", "prettier", "unused-imports", "playwright"],
4-
globals: {
5-
React: true,
6-
JSX: true,
7-
},
8-
env: {
9-
node: true,
10-
browser: true
11-
},
12-
ignorePatterns: [
13-
".*.js",
14-
"node_modules/",
15-
"dist/",
16-
"extension-src/",
17-
"playwright-report/",
18-
"test-results/"
19-
],
20-
overrides: [
21-
{
22-
files: ["*.js?(x)", "*.ts?(x)"],
23-
},
24-
],
25-
parser: "@typescript-eslint/parser",
26-
rules: {
27-
"prettier/prettier": ["error"],
28-
"import/no-duplicates": "error",
29-
"unused-imports/no-unused-imports": "error",
30-
"unused-imports/no-unused-imports": "error",
31-
"no-empty-pattern": "off",
32-
"unused-imports/no-unused-vars": [
33-
"error",
34-
{ "vars": "all", "varsIgnorePattern": "^_", "args": "after-used", "argsIgnorePattern": "^_" }
35-
]
36-
}
37-
};
2+
extends: ["@empiricalrun/eslint-config/playwright"],
3+
}

bs-config/bs_utils.ts

Lines changed: 0 additions & 158 deletions
This file was deleted.

leap-tests/pages/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const pin = "1234";
2-
export const ELEMENT_TIMEOUT = 20_000;
2+
export const ELEMENT_TIMEOUT = 10_000;
33
export const INVALID_KEY =
44
"tesf werty lkmg qewqeq qweq qweq fdfwer qwevs sdcqew 1wqr br2 fdskk";
55

0 commit comments

Comments
 (0)