Skip to content

Acceptance Tests for amp-what.com, written in Playwright

Notifications You must be signed in to change notification settings

ndp/amp-what-acceptance-test

Repository files navigation

amp-what-acceptance-test

Acceptance Tests for amp-what.com, written in Playwright

Running Tests

$ yarn install
$ npx playwright install --with-deps
$ yarn test
$ yarn test:staging
$ yarn test:localhost

DNS Tests

(Manual)

$ curl http://amp-what.com
Moved Permanently. Redirecting to https://www.amp-what.com/
$ curl https://amp-what.com
Moved Permanently. Redirecting to https://www.amp-what.com/
$ curl ampwhat.com
Moved Permanently. Redirecting to https://www.amp-what.com/
$ curl www.ampwhat.com
Moved Permanently. Redirecting to https://www.amp-what.com/
$ curl amp-what.com/foo
Moved Permanently. Redirecting to https://www.amp-what.com/foo
$ curl http://amp-what.com/foo
Moved Permanently. Redirecting to https://www.amp-what.com/foo
$ curl ampwhat.com/foo
Moved Permanently. Redirecting to https://www.amp-what.com/foo
$ curl www.ampwhat.com/foo
Moved Permanently. Redirecting to https://www.amp-what.com/foo

TODO

  • skip google and add URLs during test
  • run lighthouse tests

About

Acceptance Tests for amp-what.com, written in Playwright

Resources

Stars

Watchers

Forks