Skip to content

Conversation

@usernamealreadyis
Copy link

No description provided.

juliemr and others added 30 commits March 2, 2015 13:47
Instead of just printing the first N characters of the element's template,
print the first and last N/2.

See angular#1854
…then

This change updates the version of WebDriverJS (selenium-webdriver node
module) from 2.44 to 2.45.1. See the full changelog at
https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/CHANGES.md

To enable the update and remove confusion, this removes the `element().then`
function unless there is an action result. This function is completely
unnecessary, because it would always resolve to itself, but the removal
may cause breaking changes.

Before:
```js
element(by.css('foo')).then(function(el) {
  return el.getText().then(...);
});
```

After:
```js
element(by.css('foo')).getText().then(...);
```

In other words, an ElementFinder is now no longer a promise until an action
has been called.

Before:
```js
var el = element(by.css('foo'));

protractor.promise.isPromise(el); // true
protractor.promise.isPromise(el.click()); // true
```

After:
```js
var el = element(by.css('foo'));

protractor.promise.isPromise(el); // false
protractor.promise.isPromise(el.click()); // true
```

Also, fixes `filter` and `map` to work with the new WebDriverJS.
Updated the "angularjs homepage" spec name to the "Protractor Demo App" given
the context of what each assertion tests.
Added a cdn value for each binary to be overrided by the cli argument
`alternate_cdn`.
juliemr and others added 21 commits November 17, 2015 14:51
Strengthening the plea to include a reproducible test case, now with
test app!
…application which has debugging info disabled

Currently Angular application which for performance reasons, have debug
information turn off cannot be tested. This PR allows users to add the Angular
debug logging flag to the Protractor run.
After this change, you can put multiple browser.pause() in the code. Each
browser.pause() is like a traditional breakpoint.

To detach from the debugger, press ^D (CTRL+D). This will continue code
execution until it hits the next browser.pause() or code finishes running.

This PR also fixes a number of small formatting issues.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.