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.
@@ -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
@@ -51,6 +51,10 @@ export default defineConfig({
51
51
  },
52
52
  },
53
53
  e2e: {
54
+ defaultCommandTimeout: 10000,
55
+ pageLoadTimeout: 60000,
56
+ requestTimeout: 15000,
57
+ responseTimeout: 15000,
54
58
  setupNodeEvents(on, config) {
55
59
  codeCoverageTask(on, config);
56
60
  return config;
@@ -52,5 +52,4 @@ jobs:
52
52
  if: failure()
53
53
  with:
54
54
  name: cypress-screenshots
55
- path: cypress/screenshots
56
- - run: yarn run cypress run
55
+ path: cypress/screenshots
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "glib-web",
4
- "version": "4.44.3",
4
+ "version": "4.44.4",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -68,4 +68,4 @@
68
68
  "vite-plugin-istanbul": "^7.2.1",
69
69
  "vite-plugin-ruby": "^5.1.1"
70
70
  }
71
- }
71
+ }
@@ -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
- }