-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat #457] implement configuration, only test changed files again
- Loading branch information
1 parent
d1139bb
commit ca56d5c
Showing
17 changed files
with
249 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { test, expect } from '@playwright/test' | ||
|
||
test('test', async ({ page }) => { | ||
|
||
// Go to http://localhost:4201/#/dashboard | ||
await page.goto('http://localhost:4200/#/dashboard') | ||
|
||
// Click text=Customize | ||
await page.click('text=Customize'); | ||
await expect(page).toHaveURL('http://localhost:4200/#/customize') | ||
|
||
|
||
// Click text=Automatic NgxFileUpload | ||
await page.click('text=Automatic NgxFileUpload'); | ||
await expect(page).toHaveURL('http://localhost:4200/#/auto-upload') | ||
// Click text=Typescript | ||
await page.click('text=Typescript'); | ||
|
||
// Click igx-tab-header[role="tab"]:has-text("Html") | ||
await page.click('igx-tab-header[role="tab"]:has-text("Html")') | ||
|
||
// Click text=Validation | ||
await page.click('text=Validation'); | ||
await expect(page).toHaveURL('http://localhost:4200/#/validation') | ||
|
||
// Click text=Ngx File Drop | ||
await page.click('text=Ngx File Drop'); | ||
await expect(page).toHaveURL('http://localhost:4200/#/drop-zone'); | ||
|
||
// Click text=Ngx Dropzone | ||
await page.click('text=Ngx Dropzone'); | ||
await expect(page).toHaveURL('http://localhost:4200/#/ngx-dropzone'); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { test, expect } from '@playwright/test' | ||
|
||
test('test', async ({ page }) => { | ||
|
||
// Go to http://localhost:4201/#/dashboard | ||
await page.goto('http://localhost:4200/#/dashboard') | ||
|
||
|
||
// Click text=Customize | ||
await page.click('text=Customize') | ||
await expect(page).toHaveURL('http://localhost:4200/#/customize') | ||
|
||
// Click text=Automatic NgxFileUpload | ||
await page.click('text=Automatic NgxFileUpload'); | ||
await expect(page).toHaveURL('http://localhost:4200/#/auto-upload') | ||
|
||
// Click text=Typescript | ||
await page.click('text=Typescript') | ||
|
||
// Click igx-tab-header[role="tab"]:has-text("Html") | ||
await page.click('igx-tab-header[role="tab"]:has-text("Html")') | ||
|
||
// Click text=Validation | ||
await page.click('text=Validation'); | ||
await expect(page).toHaveURL('http://localhost:4200/#/validation') | ||
|
||
// Click text=Ngx File Drop | ||
await page.click('text=Ngx File Drop'); | ||
await expect(page).toHaveURL('http://localhost:4200/#/drop-zone') | ||
|
||
// Click text=Ngx Dropzone | ||
await page.click('text=Ngx Dropzone'); | ||
await expect(page).toHaveURL('http://localhost:4200/#/ngx-dropzone') | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// @ts-check | ||
/** @type {import('@playwright/test').PlaywrightTestConfig} */ | ||
module.exports = { | ||
testDir: './integration', | ||
projects: [ | ||
{ | ||
name: 'Chrome Stable', | ||
use: { | ||
headless: true, | ||
browserName: 'chromium', | ||
// Test against Chrome Stable channel. | ||
channel: 'chrome', | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Angular playwright builder | ||
|
||
## Options | ||
|
||
```json | ||
"project": { | ||
"root": "e2e/", | ||
"projectType": "application", | ||
"architect": { | ||
"e2e": { | ||
"builder": "@tsmonkeypatch/ngx-builders:playwright", | ||
"options": { | ||
"devServerTarget": "ngx-fileupload-example:serve", | ||
"playwrightConfig": "e2e/playwright.config.ts", | ||
"watch": true, | ||
"watchDir": ["e2e/integration"] | ||
}, | ||
}, | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.