Commit graph

12 commits

Author SHA1 Message Date
Ray Schamp
3d277c118b
Merge pull request #1626 from jwzimmer/issue/add-signing-out
Issue/add signing out
2017-11-15 15:42:46 -05:00
Ray Schamp
d3719d078f
Merge pull request #1624 from jwzimmer/issue/fix-failing-footer-links
Updated selenium & chromedriver versions, which fixed test failures i…
2017-11-15 15:42:10 -05:00
jwzimmer
44bb646ab2 removed redundant require statements 2017-10-24 11:38:07 -04:00
jwzimmer
2813218dc9 added signing out from discuss (scratchr2) 2017-10-23 21:39:33 -04:00
jwzimmer
658a65c807 add findText helper function, add test for signing out of homepage 2017-10-23 21:17:55 -04:00
jwzimmer
79499b677f Updated selenium & chromedriver versions, which fixed test failures in test_footer_links. Also fixed the clickFooterLinks function so it only checks links in the footer, to remove false positives (e.g. test finds 'Tips' in navbar and passes). 2017-10-23 20:15:37 -04:00
jwzimmer
354eb7676d Issue/gh 1428 my stuff signing in (#1464)
* put helper functions in separate file following Paul's style in scratch-gui

* remove console statements

* address review comments, object destructuring

* added new tests for invalid username/ passwords and the + New Project, + New Studio buttons

* uncomment out test after talking to Ray

* added a test for no username and no password
2017-08-22 16:58:23 -04:00
jwzimmer
f232569355 Fix GH-1420 Issue/refactor helper functions (#1458)
* put helper functions in separate file following Paul's style in scratch-gui

* remove console statements

* address review comments, object destructuring
2017-08-11 16:13:52 -04:00
jwzimmer
b289c42120 Fix Gh-1385 - Issue/smoke test signing in (#1411)
* add tests for signing in and my stuff

* flesh out tests, reorganize a bit

* add more tests

* tests for my stuff & signing in

* fix some of the errors causing build to fail

* pass in credentials from commandline rather than uncommitted file

* switch root back to staging

* address pr review comments, rename username & password vars

* update testing readme
2017-07-19 12:58:50 -04:00
jwzimmer
06acfbb61c Issue/gh 1371 update tests post tips navbar change (#1412)
* Update compatibility requirements to clarify support for ChromeOS

* update tests after changes to footer links and navbar
2017-07-19 12:58:14 -04:00
jwzimmer
bc84e2c95a Fix issue/gh 1274 by adding a test for the statistics page (#1317)
* added a test for the stats page

* add newline at end of file

* added additional tests for more charts on the stats page

* fixed starting URL value (should be staging, not prod)

* Put close parens on new lines

* change comment style

* Add waits to prevent intermittent failure

* Switch root url back again to staging

* try new style of test & remove breaking tests

* moving away from t.ok

* check for class value rather than t.ok

* remove comments, use correct comment style, note not testable on staging atm

* add messages for tests

* more arrow functions
2017-06-21 09:48:22 -07:00
jwzimmer
de78abbea2 Issue/gh 1167 test splash page (#1185)
* automated tests for footer links

* renamed navbar test file and removed footer links to separate file

* run with make smoke

* added tests for join scratch and sign in in navbar

* fix linter errors & update www links

* addressed some of ray's comments

* fix failing test - projects row link

* maybe fix error?

* continue switching to click, convert so it runs with disabled selenium promise manager, and refactor to be less location dependent

* finish switching off of implicit reliance on selenium promise manager
2017-04-19 17:14:02 -04:00