Skip to content
Snippets Groups Projects
Commit c4de8f98 authored by Janos Bekesi's avatar Janos Bekesi :moyai:
Browse files

still not working properly, damn.

parent c6cbd5c8
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"output_folder" : "reports", "output_folder" : "reports",
"custom_commands_path" : "", "custom_commands_path" : "",
"custom_assertions_path" : "", "custom_assertions_path" : "",
"page_objects_path" : "", "page_objects_path" : "reports",
"globals_path" : "", "globals_path" : "",
"selenium" : { "selenium" : {
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
"selenium_host" : "localhost", "selenium_host" : "localhost",
"silent": true, "silent": true,
"screenshots" : { "screenshots" : {
"enabled" : false, "enabled" : true,
"path" : "" "path" : "reports"
}, },
"desiredCapabilities": { "desiredCapabilities": {
"browserName": "phantomjs", "browserName": "phantomjs",
......
...@@ -9,15 +9,20 @@ module.exports = { ...@@ -9,15 +9,20 @@ module.exports = {
.url('https://phaidra.univie.ac.at') .url('https://phaidra.univie.ac.at')
.waitForElementVisible('body', 1000) .waitForElementVisible('body', 1000)
.assert.title('University of Vienna Phaidra') .assert.title('University of Vienna Phaidra')
.assert.visible('input[type=search]') .assert.visible('input[type=search]#input-0')
.setValue('input[type=search]#input-0', 'hudak') .setValue('input[type=search]#input-0', 'hudak')
.click('input[type=search]#input-0') .click('input[type=search]#input-0')
.assert.visible('md-list.layout-padding', 500) .assert.urlContains('search')
.click('a[title="Fedora 3.8.1 deploy files]') .perform(function() {
.pause(1000) console.log("gursuks.");
.assert.containsText('h3.md-title ul li a', })
'11353/10.503196' // //.assert.visible('//md-list-item[2]//a')
) .assert.containsText('div.layout-column > a > h3', 'Fedora 3.8.1 deploy files')
// .click('a[title="Fedora 3.8.1 deploy files]')
// .pause(1000)
// .assert.containsText('h3.md-title ul li a',
// '11353/10.503196'
//)
.end(); .end();
} }
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment