File tree Expand file tree Collapse file tree 1 file changed +19
-9
lines changed
packages/pluggableWidgets/color-picker-web/cypress/integration Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,25 @@ describe("color-picker-web", () => {
3434 ) ;
3535 }
3636 ) ;
37- it ( "button(Firefox)" , { browser : "firefox" } , ( ) => {
38- cy . visit ( "/p/modePage" ) ;
39- cy . wait ( 1000 ) ;
40- cy . get ( ".mx-name-colorPicker3 .widget-color-picker-inner" ) . should (
41- "have.css" ,
42- "background" ,
43- "rgb(76, 175, 80)"
44- ) ;
45- } ) ;
37+ it (
38+ "button(Firefox)" ,
39+ {
40+ retries : {
41+ runMode : 10 ,
42+ openMode : 10
43+ } ,
44+ browser : "firefox"
45+ } ,
46+ ( ) => {
47+ cy . visit ( "/p/modePage" ) ;
48+ cy . wait ( 1000 ) ;
49+ cy . get ( ".mx-name-colorPicker3 .widget-color-picker-inner" ) . should (
50+ "have.css" ,
51+ "background" ,
52+ "rgb(76, 175, 80)"
53+ ) ;
54+ }
55+ ) ;
4656 it ( "input box" , ( ) => {
4757 cy . get ( ".mx-name-tabPage2" ) . click ( ) ;
4858 cy . get ( ".mx-name-colorPicker17 input" ) . should ( "have.value" , "#4caf50" ) ;
You can’t perform that action at this time.
0 commit comments