@@ -17,15 +17,16 @@ module.exports = {
1717 // 'Check if the links in the license code redirects properly': function(browser) {
1818 // browser
1919 // .setValue('input[placeholder="Jane Doe"]', 'Jane Doe')
20- // .setValue('input[placeholder="www.author. com"]', 'www.author .com')
20+ // .setValue('input[placeholder="https://janedoe. com"]', 'https://janedoe .com')
2121 // .setValue('input[placeholder="This work"]', 'This work')
22- // .setValue('input[placeholder="www.author. com/work .jpg"]', 'www.author. com/work .jpg')
22+ // .setValue('input[placeholder="https://janedoe. com/best-photo-ever .jpg"]', 'https://janedoe. com/best-photo-ever .jpg')
2323 // .assert.elementPresent('p[class="license-text"] a')
2424 // .getAttribute('p > span > a:nth-child(1)', 'href', function(result) {
25- // this.assert.equal(result.value, 'http://www.author.com/work.jpg')
25+ // this.assert.equal(result.value, 'https://janedoe.com/best-photo-ever.jpg')
26+ // })
2627 // })
2728 // .getAttribute('p > span > a:nth-child(2)', 'href', function(result) {
28- // this.assert.equal(result.value, 'http ://www.author. com/ ')
29+ // this.assert.equal(result.value, 'https ://janedoe. com')
2930 // })
3031 // .getAttribute('p > span > a:nth-child(4)', 'href', function(result) {
3132 // const urlString = result.value.split('/').slice(3).join('/')
@@ -51,7 +52,7 @@ module.exports = {
5152 // browser
5253 // .expect.element('#attribution-text > p > span:nth-child(1) > span:nth-child(4)').text.to.equal('CC BY-SA 4.0')
5354 // },
54- // 'Check if the author -name in plain text is displayed': function(browser) {
55+ // 'Check if the creator -name in plain text is displayed': function(browser) {
5556 // browser
5657 // .expect.element('#attribution-text > p > span:nth-child(1) > span:nth-child(2) > span').text.to.equal('Jane Doe')
5758 // },
0 commit comments