File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 2727
2828 - name : Run Playwright tests
2929 env :
30- GOREST_BASE_URL : ${{ secrets.GOREST_BASE_URL }}
3130 GOREST_TOKEN : ${{ secrets.GOREST_TOKEN }}
31+ GOREST_BASE_URL : ${{ secrets.GOREST_BASE_URL }}
3232 run : npx playwright test
3333
3434 - name : Upload Test Report
Original file line number Diff line number Diff line change @@ -31,9 +31,12 @@ export default defineConfig({
3131 reporter : 'html' ,
3232 /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
3333 use : {
34- baseURL : process . env . GOREST_BASE_URL ,
34+ baseURL : 'https://www.saucedemo.com' ,
3535 trace : 'on-first-retry' ,
3636 screenshot : 'only-on-failure' ,
37+ extraHTTPHeaders : {
38+ Authorization : `Bearer ${ process . env . GOREST_TOKEN } ` ,
39+ } ,
3740 } ,
3841
3942 /* Configure projects for major browsers */
You can’t perform that action at this time.
0 commit comments