I am trying to test items text in select options but my test gets failed and give me error here is my spec:
it('should test the sorting_options text', function() {
expect(element.all((by.id('sorting_options')).Last().text).toBe('Score');
});
here is Error i received :
C: \wamp\ www\ First - angular - App > protractor conf.js
Starting selenium standalone server...
[launcher] Running 1 instances of WebDriver
Selenium standalone server started at http: //192.168.100.9:31794/wd/hub
[launcher] Error: C: \wamp\ www\ First - angular - App\ protractorSpec\ spec.js: 38
how can in resolve this issue?
Aucun commentaire:
Enregistrer un commentaire