File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
1
import { test , expect } from "@playwright/test" ;
2
- import {
3
- createGroup ,
4
- createOrganization ,
5
- getCurrentOrgId ,
6
- setupApiCalls ,
7
- } from "../api" ;
2
+ import { setupApiCalls } from "../api" ;
3
+ import { expectUrl } from "../expectUrl" ;
8
4
import { requiresEnterpriseLicense } from "../helpers" ;
9
5
import { beforeCoderTest } from "../hooks" ;
10
- import { expectUrl } from "../expectUrl" ;
11
6
12
- test . beforeEach ( async ( { page } ) => await beforeCoderTest ( page ) ) ;
7
+ test . beforeEach ( async ( { page } ) => {
8
+ await beforeCoderTest ( page ) ;
9
+ await setupApiCalls ( page ) ;
10
+ } ) ;
13
11
14
12
test ( "create and delete organization" , async ( { page, baseURL } ) => {
15
13
requiresEnterpriseLicense ( ) ;
16
- await setupApiCalls ( page ) ;
17
14
18
15
// Create an organzation
19
16
await page . goto ( `${ baseURL } /organizations/new` , {
You can’t perform that action at this time.
0 commit comments