Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulling feat/e2e-istanbul into develop #935

Merged
merged 18 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
2cd070d
feat(baseFixtures.ts): add base fixtures for Playwright tests to coll…
ktun95 Dec 10, 2024
4cd101a
chore(contentPage.spec.ts, front.spec.ts): update import statements t…
ktun95 Dec 10, 2024
abe9acb
feat(dicty-frontpage): add vite-plugin-istanbul as a dev dependency
ktun95 Dec 10, 2024
3697b38
build(vite.config.ts): add istanbul plugin to generate code coverage …
ktun95 Dec 10, 2024
56ec6a8
chore(gitignore): add .nyc_output directory to gitignore file
ktun95 Dec 10, 2024
f8ed31a
chore(integration-testing.yml): remove coverage report generation step
ktun95 Dec 10, 2024
8643a21
feat(integration-testing.yml): add step to generate coverage report a…
ktun95 Dec 10, 2024
c493ffc
chore(dicty-frontpage): update coverage-report script to use npx nyc@…
ktun95 Dec 10, 2024
b9274b5
style(playwright.config.ts): reformat code to enable Firefox browser …
ktun95 Dec 10, 2024
4a301c3
test(e2e): add tests
ktun95 Dec 10, 2024
986a3a3
feat(e2e): add end-to-end tests for downloads, front, and news pages
ktun95 Dec 10, 2024
1f54b81
chore(dicty-frontpage): remove playwright-coverage package and its re…
ktun95 Dec 10, 2024
9af6db4
feat(dicty-frontpage): add Playwright test library to enable end-to-e…
ktun95 Dec 10, 2024
65ef28a
refactor(index.tsx): extract authorizedRoles array to a separate cons…
ktun95 Dec 10, 2024
a337ce0
chore(errors): remove unused error components and related styles
ktun95 Dec 10, 2024
30fe115
chore(frontpage): remove unused AddPageButton and BackToHomepageButto…
ktun95 Dec 10, 2024
7af2bad
chore(frontpage): remove unused notfound and notfoundauth components
ktun95 Dec 10, 2024
071db36
feat(ErrorBoundary.tsx): add ErrorBoundary component to catch JavaScr…
ktun95 Dec 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ coverage
**/playwright-report/
**/blob-report/
**/playwright/.cache/
**/.nyc_output

# next.js
.next/
Expand Down
5 changes: 3 additions & 2 deletions apps/dicty-frontpage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"scripts": {
"e2e": "BASE_URL=http://localhost:3004 playwright test",
"coverage-report": "yarn c8 report --reporter=json",
"coverage-report": "npx nyc@17 report --reporter=lcov",
"dev": "vite",
"dev:mock": "vite --host --mode mock",
"dev:seed": "vite --host --mode seed",
Expand Down Expand Up @@ -32,6 +32,7 @@
"@hookform/resolvers": "^3.1.1",
"@material-ui/core": "^4.12.4",
"@material-ui/icons": "^4.11.3",
"@playwright/test": "^1.44.0",
"apollo-upload-client": "^18.0.1",
"apollo3-cache-persist": "^0.14.1",
"browser-level": "^1.0.1",
Expand All @@ -52,6 +53,7 @@
"react-responsive-carousel": "^3.2.23",
"twitter-fetcher": "^18.0.4",
"ui-user": "*",
"vite-plugin-istanbul": "4.x",
"yup": "1.2.x"
},
"devDependencies": {
Expand All @@ -69,7 +71,6 @@
"@vitest/coverage-v8": "^0.34.5",
"eslint-config-custom": "*",
"msw": "2.x",
"playwright-coverage": "*",
"prettier": "3.*",
"react-docgen-typescript": "^2.2.2",
"snyk": "^1.1187.0",
Expand Down
8 changes: 4 additions & 4 deletions apps/dicty-frontpage/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ export default defineConfig({
// name: "chromium",
// use: { ...devices["Desktop Chrome"] },
//},
//{
// name: "firefox",
// use: { ...devices["Desktop Firefox"] },
//},
{
name: "firefox",
use: { ...devices["Desktop Firefox"] },
},
//{
// name: "webkit",
// use: { ...devices["Desktop Safari"] },
Expand Down
39 changes: 0 additions & 39 deletions apps/dicty-frontpage/src/common/components/AddPageButton.tsx

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions apps/dicty-frontpage/src/common/components/errors/ErrorMessage.tsx

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

30 changes: 0 additions & 30 deletions apps/dicty-frontpage/src/common/components/errors/OtherError.tsx

This file was deleted.

This file was deleted.

25 changes: 0 additions & 25 deletions apps/dicty-frontpage/src/common/components/errors/ServerError.tsx

This file was deleted.

41 changes: 0 additions & 41 deletions apps/dicty-frontpage/src/common/components/errors/errorStyles.tsx

This file was deleted.

Loading
Loading