File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import { defineConfig } from "cypress" ;
2+
3+ export default defineConfig ( {
4+ e2e : {
5+ baseUrl : "http://localhost:8888/" ,
6+ supportFile : false ,
7+ setupNodeEvents ( on , config ) {
8+ // implement node event listeners here
9+ } ,
10+ } ,
11+ } ) ;
Original file line number Diff line number Diff line change 1+ describe ( 'empty spec' , ( ) => {
2+ beforeEach ( ( ) => {
3+ cy . visit ( '/' )
4+ } )
5+
6+ it ( 'display header text' , ( ) => {
7+ cy . get ( 'h1' )
8+ . contains ( 'Hello World!' , { matchCase : false } )
9+ } )
10+
11+ it ( 'displays Click button' , ( ) => {
12+ cy . get ( 'button' )
13+ . contains ( 'Clicks' ) ;
14+ } )
15+ } )
Original file line number Diff line number Diff line change 1+ [build ]
2+ command = " solid-start build"
3+ functions = " netlify/functions"
4+ publish = " netlify"
5+
6+ # # more info on configuring this file: https://www.netlify.com/docs/netlify-toml-reference/
Original file line number Diff line number Diff line change 77 },
88 "type" : " module" ,
99 "devDependencies" : {
10+ "cypress" : " ^10.11.0" ,
1011 "solid-start-netlify" : " ^0.1.0" ,
1112 "typescript" : " ^4.8.3" ,
1213 "vite" : " ^3.1.0"
2122 "engines" : {
2223 "node" : " >=16"
2324 }
24- }
25+ }
You can’t perform that action at this time.
0 commit comments