Commit b037fa5
committed
playwright: let the UI tests pass with the Rails app
Currently, the Git home page is implemented as a Rails app. For various
reasons, this app behaves a bit different than the upcoming
Hugo/Pagefind-based home page.
Let's document the differences via the UI tests.
Let's also make it easy to test against various sites, via the
environment variable `PLAYWRIGHT_TEST_URL`. When set, it is used instead
of https://git-scm.com/. This enables swift and painless validation of
the Hugo/Pagefind site, as it is now easy to augment the Playwright
tests to test something on the original Rails app and then to verify
without much hassle that the Hugo/Pagefind site behaves the same.
Signed-off-by: Johannes Schindelin <[email protected]>1 parent 2a3f95e commit b037fa5
1 file changed
+19
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| |||
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
100 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
101 | 108 | | |
102 | 109 | | |
103 | 110 | | |
104 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
105 | 116 | | |
106 | 117 | | |
107 | 118 | | |
| |||
115 | 126 | | |
116 | 127 | | |
117 | 128 | | |
118 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
119 | 134 | | |
120 | 135 | | |
121 | 136 | | |
| |||
0 commit comments