Skip to content

Commit

Permalink
fix playwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
fantazista committed Oct 4, 2024
1 parent 7b2277e commit f7d187b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dtc-playwright-plugin/src/browser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const path = String(process.env.DTC_PLAYWRIGHT_FILE_PATH)
const type = String(process.env.DTC_PLAYWRIGHT_TYPE)
const config = String(process.env.DTC_PLAYWRIGHT_CONFIG)

console.log(path, type, config)
const {testCases, plugins} = await resolveConfig(path, config)

const {testCase, plugins} = await resolveConfig(path, config)

test(testCase.name, async ({page}) => executeTestCase(testCase[type], plugins[type], {page}))
for (const testCase of testCases) {
test(testCase.name, async ({page}) => executeTestCase(testCase[type], plugins[type], {page}))
}

0 comments on commit f7d187b

Please sign in to comment.