Commit Graph

42 Commits

Author SHA1 Message Date
Tessa Kelly
216a51f876 Fix screenshots hopefully 2020-09-09 12:46:24 -07:00
Tessa Kelly
819aee116d Take screenshots of one widget at a time 2020-09-09 12:05:26 -07:00
Tessa Kelly
82e4c6e63b Fix tests 2020-09-08 16:13:30 -07:00
Gavin Panella
28d36c6f64 Revert "Merge pull request #461 from NoRedInk/puffins/prepare-for-merge"
This reverts commit 4373c78d82, reversing
changes made to 6b78075f02.
2020-03-06 20:00:34 +01:00
Stoeffel
873f0ef521 move files into subdirectory 2020-03-02 10:45:03 +01:00
Matt Charlton
3755413ce2 remove unused function 2019-12-03 13:51:04 +00:00
Ian Davies
418e2dfff7 Run headless again and remove commented code 2019-11-27 18:15:12 +00:00
Ian Davies
b7ab87b652 Updated to use async and dynamically load category pages. 2019-11-27 18:05:36 +00:00
Matt Charlton
a3577705e3 change page name 2019-11-27 12:15:39 +00:00
Matt Charlton
dac98b1b6e try evaluate as well 2019-11-27 12:12:20 +00:00
Matt Charlton
3a279519bd try a then 2019-11-27 12:06:32 +00:00
Matt Charlton
f54c7ffa58 test 2019-11-27 11:56:05 +00:00
Matt Charlton
6ab3da9055 use evaluate 2019-11-27 11:52:26 +00:00
Matt Charlton
919d2a0c93 wait till page has loaded 2019-11-27 11:43:41 +00:00
Matt Charlton
1cfcf108f0 get categories 2019-11-27 11:40:29 +00:00
Matt Charlton
6a96bf2a63 update test to use IDs, remove unnecessary page load 2019-11-20 08:58:44 -06:00
Matt Charlton
657cc5d21f wait for modals to open 2019-11-20 08:58:44 -06:00
Matt Charlton
078912a2e1 check for correct class before each capture 2019-11-20 08:58:44 -06:00
Matt Charlton
9b90b47773 remove click that didn't work 2019-11-15 16:06:19 +00:00
Matt Charlton
797d0d2d3c check checked checkbox 2019-11-15 16:00:51 +00:00
Matt Charlton
d6e42843db check modals 2019-11-15 16:00:41 +00:00
Matt Charlton
4457940f48 check each page individually 2019-11-15 16:00:31 +00:00
Matt Charlton
a8f71059e7 use a static id to check we've loaded 2019-11-15 15:59:49 +00:00
Matt Charlton
239c75afee add missing await 2019-11-15 14:37:50 +00:00
Matt Charlton
89479ca0e9 remove width option 2019-11-15 14:33:26 +00:00
Matt Charlton
63c455ac38 change capture name 2019-11-15 14:28:50 +00:00
Matt Charlton
f38215a0b1 One snapshot, one width 2019-11-15 14:25:42 +00:00
Matt Charlton
651f96b2fd go to each url and capture 2019-11-15 14:14:27 +00:00
Matt Charlton
056a67ba9c extra pass of percySnapshot 2019-11-15 14:06:58 +00:00
Matt Charlton
1b9ebe3923 remove extra await 2019-11-15 14:02:52 +00:00
Matt Charlton
e28076a31e remove extra bracket 2019-11-15 14:00:22 +00:00
Matt Charlton
9187c06037 use page.evaluate() 2019-11-15 13:58:00 +00:00
Matt Charlton
fbe230d570 wait till page loads 2019-11-15 13:49:36 +00:00
Matt Charlton
af61849ea0 try with a window 2019-11-15 13:44:56 +00:00
Matt Charlton
2043e40374 make the foreach async 2019-11-15 13:41:29 +00:00
Matt Charlton
aacfd158e1 capture each page individually 2019-11-15 13:37:27 +00:00
Matt Charlton
3666138a85 back to localhost and correct command 2019-11-15 13:12:16 +00:00
Matt Charlton
b90a647921 change url 2019-11-15 12:22:59 +00:00
Matt Charlton
f98f4ff745 remove console.log 2019-11-15 11:49:45 +00:00
Matt Charlton
7ae0a089e2 add a debug log 2019-11-15 11:42:45 +00:00
Matt Charlton
97a5c6c6b3 update selector 2019-11-15 11:23:31 +00:00
Matt Charlton
1a95c1f16e add basic percy capture script 2019-11-15 11:16:10 +00:00