feat(tests): [WD-22649] Screenshot automation tests#1377
feat(tests): [WD-22649] Screenshot automation tests#1377Kxiru merged 3 commits intocanonical:mainfrom
Conversation
8e11ced to
a72efac
Compare
618941c to
e0757f8
Compare
e0757f8 to
9abbbfe
Compare
edlerd
left a comment
There was a problem hiding this comment.
Good progress on this one.
dfd036f to
80a04ed
Compare
@edlerd , "LXD - Tutorial - Graphical consoles" is the dedicated test 😅 . The only thing occuring in this test is setup for the Ubuntu desktop (one screenshot is taken as a part of this setup) and the rest is just attempting to start the Desktop console.
This is good news, though I am unable to locally get the graphical console to appear so I cannot yet do the required navigation. I'll have another go with this tomorrow. |
813f7cd to
253ab54
Compare
253ab54 to
b37f711
Compare
edlerd
left a comment
There was a problem hiding this comment.
This is really nice, well done! Some nitpicks on code and a couple of screens or paths don't match what is in the LXD docs yet. Especially in the networking / forward, there were some more screens with differences.
53136bf to
97a3e22
Compare
edlerd
left a comment
There was a problem hiding this comment.
Good progress, I really like the automated screens. Some tuning seems needed to get the timings right, then this seems good to merge.
97a3e22 to
845a172
Compare
845a172 to
dbe841c
Compare
dbe841c to
2ef5c78
Compare
edlerd
left a comment
There was a problem hiding this comment.
LGTM, the screens now all line up with the docs 👍
Just one issue with the cleanup of a test below and on the same test an idea to simplify.
2ef5c78 to
e3f248b
Compare
e3f248b to
07a0412
Compare
edlerd
left a comment
There was a problem hiding this comment.
LGTM, thanks for the automated doc screenshots :)
Signed-off-by: Nkeiruka <nkeiruka.whenu@canonical.com>
Signed-off-by: Nkeiruka <nkeiruka.whenu@canonical.com>
Signed-off-by: Nkeiruka <nkeiruka.whenu@canonical.com>
07a0412 to
79db40c
Compare

Done
Fixes lack of screenshot automation in the UI.
QA
Screenshots
Locally run tests in docs-screenshots.spec.ts and observe the generated screenshots in screenshots/doc/images/...