glib-web 4.44.3 → 4.44.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cypress/support/e2e.ts +9 -0
- package/cypress.config.ts +4 -0
- package/cypress.yml.example +1 -2
- package/package.json +2 -2
- package/.claude/settings.local.json +0 -34
package/cypress/support/e2e.ts
CHANGED
|
@@ -17,5 +17,14 @@
|
|
|
17
17
|
import './commands'
|
|
18
18
|
import '@cypress/code-coverage/support'
|
|
19
19
|
|
|
20
|
+
// Ignore retry failures from backend error pages so specs can assert UI state.
|
|
21
|
+
Cypress.on('uncaught:exception', (err) => {
|
|
22
|
+
const message = `${err}`;
|
|
23
|
+
if (message.includes('Retry failed')) {
|
|
24
|
+
return false;
|
|
25
|
+
}
|
|
26
|
+
return true;
|
|
27
|
+
});
|
|
28
|
+
|
|
20
29
|
// Alternatively you can use CommonJS syntax:
|
|
21
30
|
// require('./commands')
|
package/cypress.config.ts
CHANGED
package/cypress.yml.example
CHANGED
package/package.json
CHANGED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"permissions": {
|
|
3
|
-
"allow": [
|
|
4
|
-
"Read(//home/hgani/workspace/glib-web/app/views/json_ui/garage/**)",
|
|
5
|
-
"Read(//home/hgani/workspace/glib-web-npm/doc/garage/**)",
|
|
6
|
-
"Read(//home/hgani/workspace/glib-web-npm/doc/common/**)",
|
|
7
|
-
"Bash(find:*)",
|
|
8
|
-
"Bash(npx cypress run:*)",
|
|
9
|
-
"Read(//home/hgani/workspace/glib-web/**)",
|
|
10
|
-
"Bash(curl:*)",
|
|
11
|
-
"Bash(pkill:*)",
|
|
12
|
-
"Bash(gh pr list:*)",
|
|
13
|
-
"WebSearch",
|
|
14
|
-
"WebFetch(domain:vuetifyjs.com)",
|
|
15
|
-
"Bash(lsof:*)",
|
|
16
|
-
"Bash(readlink:*)",
|
|
17
|
-
"WebFetch(domain:github.com)",
|
|
18
|
-
"Bash(npm run dev)",
|
|
19
|
-
"Bash(npm run)",
|
|
20
|
-
"Bash(npx eslint:*)",
|
|
21
|
-
"Bash(npm install:*)",
|
|
22
|
-
"Bash(yarn lint:*)",
|
|
23
|
-
"Bash(bin/rails db:migrate:*)",
|
|
24
|
-
"Bash(bin/rails server:*)",
|
|
25
|
-
"Bash(dpkg -S:*)",
|
|
26
|
-
"Bash(source:*)",
|
|
27
|
-
"Bash(node --version:*)",
|
|
28
|
-
"Bash(nvm ls:*)",
|
|
29
|
-
"Bash(nvm use:*)"
|
|
30
|
-
],
|
|
31
|
-
"deny": [],
|
|
32
|
-
"ask": []
|
|
33
|
-
}
|
|
34
|
-
}
|