-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improving the dev workflow: Setup browserstack, add necessary configuration files and tests for mobile #5340
Merged
Merged
Changes from 96 commits
Commits
Show all changes
108 commits
Select commit
Hold shift + click to select a range
59adedb
Basic Setup
apb7 a785896
Add protractor-production to config-file-paths
apb7 60a731c
Add copyright notice
apb7 dd93d40
Modify production conf
apb7 0bff650
Try out linux platform
apb7 1c09375
Change platform to mac
apb7 404e8d4
Merge branch 'develop' of https://github.com/oppia/oppia into browser…
apb7 f07b6bb
Revert Travis changes
apb7 8b4bc4b
Add sample env file for browserstack
apb7 9c7d3b4
Add configuration file for browserstack
apb7 14f5577
Other minor changes
apb7 16e0cd6
Add env example to config files
apb7 1ac8185
Add explanation for the process
apb7 bfb72ea
Add isMobile variable to existing conf file
apb7 0a6f6f5
Increase timeout for mobile device
apb7 ffb648d
Remove unused until variable
apb7 008326b
Add more options to example environment file
apb7 a3c48a9
Refactor learnerDashboard
apb7 40eeb8b
Add subscriptions end-to-end tests
apb7 a6015d1
Add export for completeSignup function
apb7 4bf14cc
Add reload functions in AdminPage object
apb7 d406e0d
Add helper functions for mobile in CreatorDashboardPage object
apb7 3835b02
Add demo test exploration for mobile and exploration id in feconf.py
apb7 88f0632
Make findExploration and findCollection functions suitable for mobile…
apb7 4093284
Add new spec and browser.isMobile
apb7 b79707b
Add end-to-end test suite for mobile
apb7 4630487
Review changes and spec addition
apb7 3e4cebe
Add protractor mobile test tags in various html files
apb7 97e9bd1
Remove trailing space in top_navigation_bar_directive.html
apb7 8217df9
Fix findCollection
apb7 09a2950
Add test exploration for rating mechanism
apb7 d4bc754
Refactor editorAndPlayer
apb7 18094e9
Add tests for ratings
apb7 f816deb
Add rating spec
apb7 91115ef
Review changes: capitalize letters
apb7 e4dec5d
Add console errors to libraryFlow
apb7 791c4be
Accept alert for reloadCollection
apb7 e84ee31
Modify loginFlow suit
apb7 631e037
Fix protractor mobile test tag
apb7 81adf35
Parallelize tests in configuration file
apb7 f88408f
Add refactored specs to Travis
apb7 92d9be7
Change the word collection to exploration
apb7 ffa8680
Remove extra spaces in comment
apb7 8846971
Change line break
apb7 8c9596d
Add test exploration for learner flow in mobile
apb7 0552a47
Add test collection for learner flow
apb7 ebc3585
Add entry in demo collections
apb7 7802dbe
Modify reloadCollection function to take in the collectionId
apb7 28ffb55
Add more specs to learnerFlow
apb7 adc48a6
Remove fit and add it in spec
apb7 6439520
Testing it out with Travis
apb7 db0dd1b
Add conditions to Travis
apb7 c7b854f
Minor tweak
apb7 57825a9
Remove demo condition in .travis.yml
apb7 169c0f6
Some review changes
apb7 24801e8
Add protractor_desktop dir
apb7 0ea9141
Restructure protractor dir
apb7 6aabbf7
Restructure protractor_mobile dir
apb7 32f3410
Add additional functions and do review changes
apb7 8936847
Restructure conf file
apb7 93a44b0
Restructure browserstack conf file
apb7 8fcfd9d
Modify test exploration
apb7 fb6c144
Modify tags
apb7 af360dc
Modify tags
apb7 63a44b9
Restructure travis config
apb7 01375d2
Merge branch 'develop' of https://github.com/oppia/oppia into browser…
apb7 6e857b0
Combine console with accesibility and make other changes
apb7 efb6d59
Remove console test from .travis.yml
apb7 6e0bee7
Restructure learnerDashboard tests
apb7 7f25654
Logout users
apb7 0311d78
Add libraryFlow to full in config
apb7 9e99692
Change function create exploration function name
apb7 0967489
Move ratings to libraryFlow
apb7 70f9c3c
Modifying config files
apb7 8446790
Minor tweaks
apb7 cbc746c
Change login name
apb7 11314e0
Add check for dev mode
apb7 7042a76
Add comments to config files
apb7 8fb7d5f
Rename desktop spec and modify config file
apb7 43aff58
.travis.yml
apb7 aef0569
Abstract commom functions in learnerFlow
apb7 978f7e7
Merge branch 'develop' of https://github.com/oppia/oppia into browser…
apb7 8cb84b3
Add quotes around env vars
apb7 a9c1dd2
libraryFlow: nit and unification
apb7 b2454b3
Further unification and review changes
apb7 0d5b996
Lint fix: fit --> it
apb7 8d901de
Fix learnerFlow tests
apb7 909c7fd
Fix var .travis.yml
apb7 f0b05d5
Modify check in protractor config file
apb7 cd1c226
Add exploration_player_test.yaml
apb7 3398940
Move functions to LearnerDashboardPage and unify learnerFlow
apb7 fe2f70c
Further unification and removal of branching
apb7 03c11ce
Modify space-before-function-paren rule and fix corresponding errors
apb7 b7ce549
Modify html tag and learnerFlow for mobile
apb7 9526b61
Minor tweak
apb7 61164f2
Merge branch 'develop' of https://github.com/oppia/oppia into browser…
apb7 37fc3a3
Create submitSearchQuery function
apb7 6a53974
Reduce branching in libraryFlow
apb7 b253c5a
Merge branch 'develop' of https://github.com/oppia/oppia into browser…
apb7 89f31bb
Remove file
apb7 b42cffd
Unification and fixes
apb7 99e4474
Fix search service
apb7 ba52b39
Add necessary tags
apb7 8096443
Reduce branching and other minor tweaks
apb7 796ff4c
Rename loginFlow to profileFlow and necessary changes
apb7 66f71b2
Rename profileFlow to profileMenuFlow and necessary changes
apb7 ad88702
Add explanation for desktop part of test
apb7 4e14f53
Remove console error msgs
apb7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the class just be
protractor-test-library-link
? Are these links in the side navigation bar not clickable on desktop?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto for the other newly added protractor classes!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do not have a side nav bar in desktop. It's only for mobile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure? I am pretty sure if you resize your Desktop browser to a small enough width, the sidenav will show up, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, I think you're getting this wrong. I will definitely not be running the site on a desktop with the width of a mobile screen? Isn't this what distinguishes mobile and desktop -- the browser width?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My opinion is that these element's tags should not include the word "mobile" if they are accessible on desktop too.
P.S we can talk this over Gitter, should this PR get too lengthy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After a close inspection , I would like to drop my review comments about the
protractor-test-mobile
name for the sidenav link.The sidenav is not expected to be tested from Desktop 's e2e. We can keep things as is here!