File tree Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ semgrep-sast:
5757 reports :
5858 sast : gl-sast-report.json
5959
60- test :
60+ e2e-ce-ui- test :
6161 << : *ui_checks
6262 << : *ui_cache
6363 image : node:latest
64- stage : test
64+ stage : integration- test
6565 before_script :
6666 - apt update && apt install curl
6767 - apt install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
Original file line number Diff line number Diff line change 11import { defineConfig } from 'cypress'
22
33export default defineConfig ( {
4- pageLoadTimeout : 10000 ,
5- defaultCommandTimeout : 10000 ,
64 e2e : {
75 testIsolation : false ,
86 supportFile : false ,
Original file line number Diff line number Diff line change 11/* eslint-disable no-undef */
22
33describe ( 'Instance page should have "Configuration" tab with content' , ( ) => {
4- beforeEach ( ( ) => {
5- cy . visit ( '/' )
6- } )
7-
84 it ( 'should have token in local storage' , ( ) => {
95 cy . window ( ) . then ( ( win ) => {
106 if ( ! win . localStorage . getItem ( 'token' ) ) {
11- window . localStorage . setItem ( 'token' , 'demo-token' )
7+ win . localStorage . setItem ( 'token' , 'demo-token' )
128 }
139 } )
1410 } )
15-
1611 it ( 'should have "Configuration" tab with content' , ( ) => {
17- cy . once ( 'uncaught:exception' , ( ) => false )
12+ cy . visit ( '/' )
1813 cy . get ( '.MuiTabs-flexContainer' ) . contains ( 'Configuration' )
1914 cy . get ( '.MuiBox-root' ) . contains ( 'p' ) . should ( 'have.length.greaterThan' , 0 )
2015 } )
You can’t perform that action at this time.
0 commit comments