Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A collection of resources focused on browsers usage and features.

License

NotificationsYou must be signed in to change notification settings

meduzen/canwe

Repository files navigation

A collection of websites focused on browsers usage and features.

I’d like to propose aSuperCanSomething website

Open anissue or (faster) a pull request.

Development

Content

Old goodpublic/index.html editing.

Styles

  • npm install
  • (optional) create.env from.env.example, then edit it
  • (local)npm run dev or(prod)npm run build

Websites colors are CSS custom properties in/src/css/config/sites.css.

Note

Thou plain CSS is used in this project, you can write inline CSS comments using// thanks to thePostCSS config.

Tests

Tests usePlaywright and can be run withnpm test. They can all run locally or in a GitHub action.

Before running tests locally:

  • make sure the project is accessible from a URL (e.g. usingnpm run preview);
  • add this URL in thePW_BASE_URL entry of your.env;
  • npx playwright install pulls the headless browsers used by the test.

You can also play with Playwright GUI by runningnpm run test:ui.

URLs are tested on merge requests usingLychee in a GitHub Action. To test URLs locally install Lychee and runnpm run test:absolute-links.

Local tests results

When running the tests locally, the results are in/tests/results:

  • {tld}-{timestamp}.json: JSON report of the test suites;
  • html/index.html: HTML report of the latest test suites;
  • axe-html/{tld}-{timestamp}-{wcag2-a|wcag2-aa|others}.html: HTML reports of the accessibility tests, split by category (WCAG 2 A, WCAG 2 AA, others);

GitHub Action tests results

When running in a GitHub action, the “summary” view of the GitHub Action has anartifact section at the very bottom. The artifact archive contains the same HTML report as inhtml/index.html when you run tests locally.

When you open it and pick one of the accessibility tests, look into the “attachment” to find the HTML report dedicated to accessibility issues (as well as a JSON file).

Various

Last deployment:

Laravel Forge Site Deployment Status


[8]ページ先頭

©2009-2025 Movatter.jp