Commit af845f8
committed
playwright: verify that
The `isRailsApp` variable tells whether the URL in question refers to
the original Rails App variant of https://git-scm.com/ or to the new
Hugo/Pagefind-based site. The variable is set to true if the URL is
https://git-scm.com/.
However, today we tried for the first time to switch
https://git-scm.com/ to the new site. Therefore, that condition would
have been wrong (even as luck had it, the URL in use was a http one, not
an https one, i.e. the insecure variant, and therefore `isRailsApp` was
correctly set to `false`, but that was just happenstance).
Let's make sure that the value of the `isRailsApp` is correct by looking
for the tell-tale `<meta name="generator" content="Hugo <version>">` tag
that is generated by Hugo but not by the Rails app.
Signed-off-by: Johannes Schindelin <[email protected]>isRailsApp is correct1 parent 4f88ad3 commit af845f8
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
25 | 34 | | |
26 | 35 | | |
27 | 36 | | |
| |||
0 commit comments