File tree 1 file changed +6
-18
lines changed
1 file changed +6
-18
lines changed Original file line number Diff line number Diff line change 3
3
The aim of this project is to do integration / selenium tests with mailvelope.
4
4
The source code included in this project will be used to actually execute the tests on a selenium server (which will have to be started independently)
5
5
6
- ## Tests framework comparison
7
- Before writing selenium tests, we want to compare the different frameworks available for nodejs / javacsript and make sure that we'll be able
8
- to write tests that can run with the mailvelope extension in the most popular browsers: firefox and chrome.
6
+ ## Running the tests
9
7
10
- Initially, this repository will contain the source code to test the different frameworks and to demo what we can do with them.
11
- Later on, after we select one it will evolve into a normal test repository and the code used to test the different frameworks will be removed.
8
+ Before running the tests, you will need to compile the mailvelope extension with the key provided in the config directory. Once this is done,
9
+ both the chrome and firefox extensions should be in the /data/extensions directory:
10
+ - mailvelope.chrome.crx
11
+ - mailvelope.firefox.xpi
12
12
13
- ### Protractor
14
- Status: Extension not working on firefox.
15
-
16
- To run the demo test:
17
- Chrome: ./node_modules/protractor/bin/protractor ./protractor/config/config-chrome.js
18
- Firefox: ./node_modules/protractor/bin/protractor ./protractor/config/config-firefox.js
19
-
20
- For Firefox, you will notice that the extension is not loading.
21
-
22
- ### Webdriverio
23
- Status: Extension can load for both chrome and firefox.
24
-
25
- To run the demo test:
13
+ To run the tests:
26
14
Chrome: ./node_modules/.bin/wdio ./webdriverio/config/chrome.conf.js
27
15
Firefox: ./node_modules/.bin/wdio ./webdriverio/config/firefox.conf.js
You can’t perform that action at this time.
0 commit comments