Commit graph

98 commits

Author SHA1 Message Date
BryceLTaylor
2bb898788f Update Intergration README to have Saucelabs info 2018-07-06 10:33:40 -04:00
BryceLTaylor
6cb52fca5c Fully remove Selenium_Promise_Manager=0 from tests 2018-07-05 14:22:58 -04:00
BryceLTaylor
f678c97727 Make Selenium Helper file more resemble GUI and Update Tests to use it 2018-07-05 14:22:58 -04:00
BryceLTaylor
3ef4278385 Remove use of var from selenium-helpers.js 2018-07-05 14:16:36 -04:00
BryceLTaylor
8231453bab Fully remove Selenium_Promise_Manager=0 from tests
# Conflicts:
#	test/integration/smoke-testing/test_footer_links.js
#	test/integration/smoke-testing/test_navbar_links.js
#	test/integration/smoke-testing/test_project_rows.js
2018-07-05 13:23:47 -04:00
BryceLTaylor
de9eb54f60 Setup Selenium Helpers create driver using SauceLabs 2018-06-25 15:17:15 -04:00
BryceLTaylor
f15a8bd714 Make selenium-helpers.js build driver in headless mode 2018-05-31 11:52:57 -04:00
BryceLTaylor
55f72e7487 Update travis.yml typo on running smoke tests 2018-05-30 16:29:37 -04:00
BryceLTaylor
86e9549cee Make all Selenium tests of login-failures work and use css to select elements. 2018-05-17 11:52:05 -04:00
BryceLTaylor
e7f57122c2 Make Selenium Helper function to click element by CSS 2018-05-17 11:33:21 -04:00
BryceLTaylor
4e017d3ca7 Remove Selenium smoke tests that sign in with no username since they break constantly. 2018-05-15 09:26:52 -04:00
BryceLTaylor
93e483e6e9 Split integration test test_signing_in_and_my_stuff into test-login-failures and test-my-stuff 2018-05-08 16:29:35 -04:00
BryceLTaylor
cb484da6b0 Update test_navbar_links integration test to use selenium_helpers 2018-05-08 16:28:02 -04:00
BryceLTaylor
cb52f679be Move Selenium-Helpers file and point integration tests to it 2018-05-08 16:26:48 -04:00
BryceLTaylor
9ece2e6ea6 Update selenium-webdriver and chromedriver versions to match gui. 2018-05-08 16:19:56 -04:00
BryceLTaylor
d876c809ac Fix linting issues in Cypress test-footer-links test 2018-03-22 15:14:05 -04:00
BryceLTaylor
53e8d66a11 Linted Cypress test files with —fix 2018-03-22 15:06:37 -04:00
BryceLTaylor
3f169123d9 Delete cypress example files 2018-03-22 15:05:47 -04:00
BryceLTaylor
88de06f61b Setup Cypress linting 2018-03-22 15:01:51 -04:00
BryceLTaylor
7d8bd57714 Clarify README for the Cypress tests more. 2018-03-21 10:44:09 -04:00
BryceLTaylor
240780b859 Clarify README in the Cypress Tests 2018-03-21 10:42:41 -04:00
BryceLTaylor
057e000b12 Clarify and expand README for Cypress tests 2018-03-21 10:40:45 -04:00
BryceLTaylor
95303e7079 Add initial cypress tests 2018-03-21 10:00:23 -04:00
Ray Schamp
bd224be0e4
Update footer to even newer expected URL 2018-02-28 15:58:48 -05:00
jwzimmer
6db990ff06 Update footer link for wiki 2018-02-18 09:59:35 -05:00
Ray Schamp
53d3bb94dc Revert "Merge pull request #1787 from LLK/revert-1786-hotfix/es6-upgrade"
This reverts commit 5ce1a9f411, reversing
changes made to 5be4c45f08.
2018-01-30 10:33:15 -05:00
Ray Schamp
c7c92c49f7
Revert "[Master] Upgrade to ES6" 2018-01-30 09:53:25 -05:00
Ray Schamp
f2392f6d5a Fix test for ScratchEd footer link 2018-01-23 10:25:08 -05:00
Matthew Taylor
6d1f2fbccd initial es6 commit 2018-01-19 14:06:26 -05:00
Ray Schamp
08a2acdfc1 Remove references to Saucelabs 2017-12-14 17:36:15 -05:00
Ray Schamp
cdbdd54b8d Merge branch 'issue/update-test-readme' of https://github.com/jwzimmer/scratch-www into jwzimmer-issue/update-test-readme 2017-12-14 17:35:04 -05:00
Colby Gutierrez-Kraybill
cd27b68cd1
Merge pull request #1720 from LLK/hotfix/cache-nav-session-endpoints
[Develop] Hotfix/cache nav session endpoints
2017-12-01 16:01:19 -05:00
Colby Gutierrez-Kraybill
0ba2693c0e Cache logged out account-nav.json and session
Cache ^/fragment/account-nav.json and ^/session for logged out users
2017-12-01 13:50:43 -05:00
Colby Gutierrez-Kraybill
c3f34ab02a
Merge pull request #1713 from LLK/hotfix/project-caching
[Develop] Hotfix/project caching
2017-12-01 11:29:13 -05:00
Colby Gutierrez-Kraybill
c65b0ef907 Stomp set-cookie
set-cookie causes the cache to not cache the page. Since we’re not trying to track the user beyond, we don’t want to try resetting the cookie again with the same info
2017-12-01 11:22:24 -05:00
Colby Gutierrez-Kraybill
1083a7a79f Fix typos and correct cookie
scratchsessionsid not scratchsessionid
Cookie needs key added for assigned value of scratchlanguage
2017-12-01 10:18:47 -05:00
Colby Gutierrez-Kraybill
91b3feb0b1 Merge pull request #1708 from colbygk/session-caching
[Master] Project page caching
2017-12-01 09:59:26 -05:00
Colby Gutierrez-Kraybill
69757e6bec
Revert "[Master] Project page caching" 2017-12-01 09:24:17 -05:00
Colby Gutierrez-Kraybill
fb28558c67
Merge pull request #1707 from colbygk/session-caching
[Develop] Project page caching
2017-11-30 14:01:23 -05:00
Colby Gutierrez-Kraybill
3e8fdc9ce2 adjust tests to changes in fastly-config-methods.js 2017-11-30 11:46:39 -05:00
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
Ray Schamp
8b61ce72e1
Scratch itch 2017-11-15 13:33:30 -05:00
jwzimmer
c16dea05a1 update read me for automated tests 2017-11-14 09:28:25 -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
chrisgarrity
376aee0eb3 Add error checking and testing for translations (#1401)
* Add error checking and testing for translations. Also make build-locales quieter if there are no problems.

* Allow build with broken translations (to allow development), but fail test so that broken translations don't get merged or deployed
2017-08-15 09:32:18 -04:00