File tree 7 files changed +41
-19
lines changed
7 files changed +41
-19
lines changed Original file line number Diff line number Diff line change 34
34
! .yarn /releases
35
35
! .yarn /sdks
36
36
! .yarn /versions
37
+
38
+ # Cypress
39
+
40
+ cypress /screenshots
Original file line number Diff line number Diff line change
1
+ // Copyright 2017 The Kubernetes Authors.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ const { defineConfig } = require ( 'cypress' ) ;
16
+
17
+ module . exports = defineConfig ( {
18
+ "e2e" : {
19
+ "baseUrl" : "http://localhost:8080" ,
20
+ "supportFile" : "./cypress/support/index.ts" ,
21
+ "video" : false ,
22
+ "chromeWebSecurity" : false ,
23
+ "screenshotOnRunFailure" : true ,
24
+ "videoCompression" : false ,
25
+ "pageLoadTimeout" : 10000 ,
26
+ "viewportHeight" : 1080 ,
27
+ "viewportWidth" : 1920 ,
28
+ } ,
29
+ } ) ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*
16
16
*/
17
- import { NavbarPage } from '../../ pages/navbarPage' ;
17
+ import { NavbarPage } from '../pages/navbarPage' ;
18
18
19
19
describe ( 'Navbar' , ( ) => {
20
20
before ( ( ) => {
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*
16
16
*/
17
- import { UserpanelPage } from '../../ pages/userpanelPage' ;
17
+ import { UserpanelPage } from '../pages/userpanelPage' ;
18
18
19
19
describe ( 'Userpanel' , ( ) => {
20
20
before ( ( ) => {
Original file line number Diff line number Diff line change 105
105
"@typescript-eslint/parser" : " 5.38.0" ,
106
106
"codelyzer" : " 6.0.2" ,
107
107
"concurrently" : " 7.6.0" ,
108
- "cypress" : " 9.7 .0" ,
108
+ "cypress" : " 10.0 .0" ,
109
109
"cypress-fail-fast" : " 5.0.1" ,
110
110
"del" : " 6.1.1" ,
111
111
"eslint" : " 8.33.0" ,
Original file line number Diff line number Diff line change @@ -6289,9 +6289,9 @@ __metadata:
6289
6289
languageName: node
6290
6290
linkType: hard
6291
6291
6292
- "cypress@npm:9.7 .0":
6293
- version: 9.7 .0
6294
- resolution: "cypress@npm:9.7 .0"
6292
+ "cypress@npm:10.0 .0":
6293
+ version: 10.0 .0
6294
+ resolution: "cypress@npm:10.0 .0"
6295
6295
dependencies:
6296
6296
"@cypress/request": ^2.88.10
6297
6297
"@cypress/xvfb": ^1.2.4
@@ -6337,7 +6337,7 @@ __metadata:
6337
6337
yauzl: ^2.10.0
6338
6338
bin:
6339
6339
cypress: bin/cypress
6340
- checksum: 45df7c85bc7ec2e187153ff2b98bf5106d2313d70e2367a5742b5269a9e82d3fdd730d5bbc32ac8da72aeb120a52f9384c2ba4e2fc86b532f68440f22d700fc9
6340
+ checksum: 0fabf7738b1c8729353a2deede13e500263f50dacfab456a3b9bc881c22620151a574f9b27f30e7c6975f88f3d0e070e980c545c598bb23f09a5b5e900b02ca6
6341
6341
languageName: node
6342
6342
linkType: hard
6343
6343
@@ -10540,7 +10540,7 @@ __metadata:
10540
10540
concurrently: 7.6.0
10541
10541
core-js: 3.27.2
10542
10542
crop-url: 4.0.1
10543
- cypress: 9.7 .0
10543
+ cypress: 10.0 .0
10544
10544
cypress-fail-fast: 5.0.1
10545
10545
d3-shape: 3.2.0
10546
10546
d3-time-format: 4.1.0
You can’t perform that action at this time.
0 commit comments