BryceLTaylor
b2eabeddfc
Rename new integration tests to differentiate from old ones
2019-08-13 15:15:44 -04:00
BryceLTaylor
8c385e3e4d
Update chrome version for remote tests and chromedriver
2019-08-13 15:15:44 -04:00
BryceLTaylor
88f07d6562
Add first test to my-stuff.test.js
2019-08-13 15:15:44 -04:00
BryceLTaylor
755b26a578
Move testing README into the main README
2019-07-18 16:17:39 -04:00
BryceLTaylor
126f3a34b2
Updeate integration test README
2019-07-17 15:59:34 -04:00
BryceLTaylor
c56f488b33
Add Jest, Enzyme, and sample tests
2019-07-17 15:27:13 -04:00
BryceLTaylor
4a963dbfaa
remove tap tests from non-legacy folders
2019-07-17 15:12:55 -04:00
Ray Schamp
3e6982ff9d
Move remaining Makefile entries to package.json
...
Remove Docker since it wasn’t really being used.
2019-07-15 09:24:47 -04:00
BryceLTaylor
6fcfee3c30
Skip tests that occasionally failed on travis
2019-06-26 11:16:56 -04:00
Benjamin Wheeler
35bcb8b33e
Merge pull request #3079 from benjiwheeler/add-join-test
...
added test to check that join window shows scratchr2 join flow
2019-06-25 18:23:59 -04:00
Ben Wheeler
a6db76b822
added test to check that join window shows scratchr2 join flow
2019-06-25 17:34:25 -04:00
BryceLTaylor
9643396ee4
Add tap.plan back into test-my-stuff integration test.
2019-06-06 17:34:20 -04:00
BryceLTaylor
d251ee6e8b
fix linting error
2019-06-03 17:12:59 -04:00
BryceLTaylor
55901b479d
Make test_search integration tests default to scratch.ly instead of localhost
...
Everything else points at scratch.ly so if you provide no root url these tests inexplicably failed
2019-06-03 16:27:34 -04:00
BryceLTaylor
92790c2f9d
Skip failing test in test-my-stuff integration test
2019-06-03 16:27:34 -04:00
BryceLTaylor
49de9b99ed
Add waitUntilGone function to integration tests
...
Make sure the loading screen is not present when loading the project page
2019-06-03 16:27:34 -04:00
BryceLTaylor
352237f59a
Update findByXpath selenium helper function
2019-06-03 16:27:34 -04:00
BryceLTaylor
cf96ad7aa8
Skip integration tests that go to external sites
2019-06-03 16:27:34 -04:00
Ben Wheeler
9ae9177ae5
added tests
2019-05-29 15:34:05 -04:00
Benjamin Wheeler
d20efcb74b
Merge pull request #2966 from benjiwheeler/search-escape-fix
...
make search urls use consistent encoding
2019-05-22 12:35:47 -04:00
Ben Wheeler
67c30868be
moved test_search into smoke-testing directory so it will run
2019-05-21 22:43:41 -04:00
BryceLTaylor
8d4f387093
Make Add to studio test in test-my-stuff integration test look in shared projects
2019-05-16 11:45:29 -04:00
Ben Wheeler
db89e0744b
added tests for search string processing
2019-05-13 15:02:56 -04:00
BryceLTaylor
3f120ad830
futureproof test for conference link
2019-03-07 11:41:50 -05:00
BryceLTaylor
3132dc696e
Update the integration test for the Scratch Conference link in the footer
2019-03-05 15:29:07 -05:00
BryceLTaylor
194842e414
Remove Scratch Wiki test
2019-01-16 14:56:01 -05:00
chrisgarrity
7ec4d3783d
Credits link has changed
2018-12-21 10:00:46 -05:00
Eric Rosenbaum
35d76ef59b
Update tests
2018-12-13 21:12:16 -05:00
BryceLTaylor
b1b6aa66a0
Look for correct URL in See Inside test
2018-11-27 11:37:22 -05:00
BryceLTaylor
78dfaf07a8
explicitly require chromedriver so tests run
2018-11-27 11:36:16 -05:00
chrisgarrity
13b3e57381
open getting started tutorial for logged out users
...
- `create` on the navbar opens the getting started tutorial if the user is not logged in
- replaced any other use of `tip_bar=getStarted` with `tutorial=getStarted` (with the exception of Tips page)
- did not replace other uses of `tip_bar=home` as those should probably go to the new tips/ideas page.
2018-11-12 12:58:59 -05:00
MasterOfTheTiger
12aeba90ed
Use https for ScratchJR links
2018-11-09 09:17:04 -08:00
BryceLTaylor
fc7979944b
Update Chrome version in Saucelabs tests
2018-11-07 11:40:10 -05:00
BryceLTaylor
9bb8b7db28
Update chromedriver so tests pass more reliably
2018-11-06 15:35:21 -05:00
Benjamin Wheeler
337a9e2f30
fixed smoke tests to use non-exclusive class locators ( #2102 )
2018-09-25 09:29:06 -04:00
BryceLTaylor
417ce0996e
Use Travis’s built in CI environment variable for tests
2018-07-11 14:50:04 -04:00
BryceLTaylor
fb8e0292ce
Use Travis build Number rather than ID
2018-07-11 13:21:57 -04:00
BryceLTaylor
b1fa09eef9
Include Travis build id in Sauce Labs test name
2018-07-11 12:07:28 -04:00
BryceLTaylor
90d10dd417
Name Sauce Labs tests to indicate when run by Travis
2018-07-11 11:17:49 -04:00
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
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
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
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
56b46fd861
Issue/gh 1013 remove end to end testing package dependencies from repo ( #1319 )
...
* remove selenium from package.json
* Add package.json & README for the integration directory
* add newline at end of file
* add chromedriver dependency
2017-05-24 10:12:37 -07:00
Matthew Taylor
4967f315e8
Merge pull request #1139 from mewtaylor/cwillaim-feature/teacher-registration-flow-tests
...
Tests for the teacher registration flow
2017-05-04 08:39:08 -04: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
cwillaim
38bdc78d8a
Update tests with the right xpath for error messages (nested span for translation)
2017-01-03 12:16:17 -05:00
cwillaim
fe2ce902e6
Update tests to use an environment value for the url, and consolidate the slide advancement functions. Update utils with better xpath for error messages
2017-01-03 12:16:16 -05:00
cwillaim
e357a62c2c
Rename tests for the demographic and organization steps for consistency. Clean up teacher_registration_utils
2017-01-03 12:16:16 -05:00
cwillaim
60565d22c6
Remove unused variable in one of the address step tests
2017-01-03 12:16:16 -05:00
cwillaim
432fd1a81b
Test the address and 'use scratch' steps.
2017-01-03 12:16:16 -05:00
cwillaim
29a38ca917
Finish up tests for the organization step.
2017-01-03 12:16:16 -05:00
cwillaim
4ef6dc193d
Move code for filling in slides to utils, and update tests accordingly.
2017-01-03 12:16:16 -05:00
cwillaim
69c9cdba17
Update reference to the utils where each test imports them (educator...utils to teacher...utils)
2017-01-03 12:16:15 -05:00
cwillaim
3d6b89ac67
Rename tests to follow proper naming - 'teacher' instead of 'educator.' Move teacher registration tests into subfolder.
2017-01-03 12:16:15 -05:00
cwillaim
487b6cd152
Add utils for reused strings in teacher registration tests, and update tests to import them. Add tests for the organization step.
2017-01-03 12:16:15 -05:00
cwillaim
871bb4b52d
Use a different username when filling in first slide, ladybug was taken.
2017-01-03 12:16:15 -05:00
cwillaim
2fe8dbb490
Add tests for the educator registration flow, up to the phone number step.
2017-01-03 12:16:15 -05:00
jwzimmer
7b59953d84
removed console log statement accidentally left from testing
2016-09-21 10:45:55 -04:00
jwzimmer
e06cf2b134
simplify checking that the href is at the end of the url with ray's suggestion
2016-09-21 10:41:24 -04:00
jwzimmer
867c95b382
travis checks
2016-09-19 13:11:24 -04:00
jwzimmer
57ab628337
check only the href, not the URL. i'm not sure this is a good way to do this. may be too convoluted.
2016-09-19 13:02:16 -04:00
jwzimmer
eaaa2faf2a
replaced tab with 4 spaces
2016-09-15 13:28:17 -04:00
jwzimmer
eb788acac0
require statements on separate lines and travis check failires
2016-09-15 13:22:53 -04:00
jwzimmer
3855926a15
Tried to fix the errors for travis check, but wasn't sure how to handle some of them
2016-09-15 10:36:47 -04:00
jwzimmer
052819f8c5
Clarified inline comments
2016-09-14 15:33:45 -04:00
jwzimmer
a49d209c29
folder and file for the initial automated test, checking the navbar create link URL is correct
2016-09-14 15:28:45 -04:00