Mark Yen
cf213be3cd
Merge pull request #454 from mook-as/e2e-run-script
...
E2E: Use custom script for building
2021-08-06 15:18:08 -07:00
Mark Yen
92e133de6f
E2E: Use custom script for building
...
This lets us drop the SPECTRON_RUN environment variable, so we can be sure
that users will not accidentally stumble upon it (causing the deprecated
remoting API to be enabled).
Signed-off-by: Mark Yen <mark.yen@suse.com >
2021-08-04 17:17:00 -07:00
Mark Yen
93cf153af4
E2E: Make it clear that getting a page may fail.
...
Signed-off-by: Mark Yen <mark.yen@suse.com >
2021-08-04 17:04:39 -07:00
Gunasekhar Matamalam
aa357aa233
Modified the condition to make the element exists check working
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-04 16:22:04 -07:00
Gunasekhar Matamalam
1f4938f9a7
lint fix
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-04 14:08:02 -07:00
Gunasekhar Matamalam
b668259bb7
Modified the tests to handle non existant tabs. For example, Portforwarding tab is disabled for mac os
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-04 12:41:45 -07:00
Gunasekhar Matamalam
3d7372a883
Added a check to Port Forwarding tab test based on os
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-04 08:54:58 -07:00
Gunasekhar Matamalam
72e4ac93b4
Added space in the declaration statement
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-03 10:02:52 -07:00
Gunasekhar Matamalam
96e9d7364f
lint fix
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-03 10:02:52 -07:00
Gunasekhar Matamalam
d5d79a47d6
Moved page initialization from global to individual page test blocks
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-03 10:02:51 -07:00
Gunasekhar Matamalam
158d5253ab
lint fixes
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-03 10:02:51 -07:00
Gunasekhar Matamalam
1f6d052094
Reduced the timeout from 1_000_000 to 60_000 as it seems to be sufficient
...
Introduced SPECTRON_RUN env that's used elsewhere in the app to do something specific to spectron runs
Modified test title texts to remove ! as it doesn't add value. Replaced dummy tests with something more meaningful
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-03 10:02:51 -07:00
Gunasekhar Matamalam
5aa983c0be
Added EOL at EOF
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-03 10:02:50 -07:00
Gunasekhar Matamalam
0e9b539657
Reafactored the e2e setup to make it modular
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-03 10:02:50 -07:00
Gunasekhar Matamalam
c894eed4bc
Replaced mocha setup with Jest for e2e
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-03 10:02:47 -07:00
Gunasekhar Matamalam
9f9bae59fe
Intermediate commit - e2e with jest
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-03 10:01:37 -07:00
Gunasekhar Matamalam
ef66faddcd
lint fix
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-03 10:01:37 -07:00
Gunasekhar Matamalam
dbcacf9067
Removed the dummt test and added a test to check window title
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-03 10:01:37 -07:00
Gunasekhar Matamalam
f6d2a1aecf
Code indentation fix
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-03 10:01:36 -07:00
Gunasekhar Matamalam
304e8fd9b5
Pulled changes from Mark's fork
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-03 10:01:36 -07:00
Gunasekhar Matamalam
b4635725f9
Another experimentation branch to explore spectron e2e setup
...
Signed-off-by: Gunasekhar Matamalam <gunasekhar.matamalam@suse.com >
2021-08-03 10:01:34 -07:00