File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22
22
- name : Run Cypress tests
23
23
run : |
24
24
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
25
- "npx http-server storybook-static --port 8081 " \
26
- "npx wait-on tcp:8081 && pnpm cypress:run"
25
+ "npx http-server storybook-static --port 6006 --silent " \
26
+ "npx wait-on tcp:6006 && pnpm cypress:run"
27
27
- run : pnpm run build
Original file line number Diff line number Diff line change 1
1
describe ( "swap tests" , ( ) => {
2
2
beforeEach ( ( ) => {
3
3
cy . visit (
4
- "http://localhost :6006/iframe.html?args=&globals=&id=components-swap--default&viewMode=story"
4
+ "http://127.0.0.1 :6006/iframe.html?args=&globals=&id=components-swap--default&viewMode=story"
5
5
) ;
6
6
} ) ;
7
7
it ( "should be able to swap ston with right dex" , ( ) => {
Original file line number Diff line number Diff line change 1
1
describe ( "setting ui components test" , ( ) => {
2
2
beforeEach ( ( ) => {
3
3
cy . visit (
4
- "http://localhost :6006/iframe.html?args=&globals=&id=components-swap--default&viewMode=story"
4
+ "http://127.0.0.1 :6006/iframe.html?args=&globals=&id=components-swap--default&viewMode=story"
5
5
) ;
6
6
7
7
cy . get ( "[data-testid='setting-button']" ) . click ( ) ;
You can’t perform that action at this time.
0 commit comments