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