File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,12 @@ import * as constants from "./constants";
3
3
import { STORAGE_STATE } from "./playwright.config" ;
4
4
import { Language } from "pages/CreateUserPage/CreateUserForm" ;
5
5
6
- test ( "create first user" , async ( { page } ) => {
6
+ test ( "setup first user" , async ( { page } ) => {
7
7
await page . goto ( "/" , { waitUntil : "domcontentloaded" } ) ;
8
8
9
9
await page . getByLabel ( Language . usernameLabel ) . fill ( constants . username ) ;
10
10
await page . getByLabel ( Language . emailLabel ) . fill ( constants . email ) ;
11
11
await page . getByLabel ( Language . passwordLabel ) . fill ( constants . password ) ;
12
- await page . getByTestId ( "trial" ) . click ( ) ;
13
12
await page . getByTestId ( "create" ) . click ( ) ;
14
13
15
14
await expect ( page ) . toHaveURL ( / \/ w o r k s p a c e s .* / ) ;
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ export const SetupPageView: React.FC<SetupPageViewProps> = ({
52
52
email : "" ,
53
53
password : "" ,
54
54
username : "" ,
55
- trial : true ,
55
+ trial : false ,
56
56
} ,
57
57
validationSchema,
58
58
onSubmit,
@@ -129,7 +129,7 @@ export const SetupPageView: React.FC<SetupPageViewProps> = ({
129
129
< Checkbox
130
130
id = "trial"
131
131
name = "trial"
132
- value = { form . values . trial }
132
+ checked = { form . values . trial }
133
133
onChange = { form . handleChange }
134
134
data-testid = "trial"
135
135
size = "small"
You can’t perform that action at this time.
0 commit comments