Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Pinch events add: tests * feat: Pinch events add: tests * feat: Pinch events add: tests * feat: Pinch events add: tests * cleanup * tests: Use animationTime from OpenSeadragon Options to wait after each action * tests: Added e2e feature * refactor: Moving code for creating viewer to its own service test: Added test for pinch. Not working at the moment test: Fixed 'should create viewer on init' test. Test was testing the viewer not being null, but it was in fact never defined. * added: Added zoom functions to ViewerService * feat: Prevent user from zooming out more than home zoom tests: Added unit tests * Merge: Merging with master and refactoring * test: Use OpenSeadragons own raiseEvent in our tests to test pinch test: Cleaning up e2e test. Setting @ignore on tests where we need to find out how to use Actions * test: Using isPresent instead of isDisplayed. Safari doesn't seem to like it. * test(pan): e2e test for panning on image e2e test for panning on image. Mouse actions do not work on Chrome (http://www.protractortest.org/#/api?view=webdriver.WebDriver.prototype.actions) * refactor: typing on point att * test(pan): remove ignore * refactor: Moved inline css code into .scss file * refactor: Use await instead of .then() * Add: Added Clickservice. Copy from https://github.com/ooystein/ngx-mime/blob/NGXMIM-5-View-Switch/src/lib/src/core/click/click.service.ts feat: Double click to zoom in. When zoomed in, double click goes back to home zoom * cleanup * Replaced osd toolbar * test: Changed tests to use new buttons for navigation * fix: Lint error. Line too long * test: renamed annotations to match protractor config * test: waitForElementToBeClickable function under Utils * test: Scaling browser to 100% before clicking on zoom buttons. IE11 seem to get wrong position of elements when scaling is not 100%. * test: Trying to use sendKeys() instead of click() for resolving issues with IE not clicking on buttons * style: intl - I18N - Aria labels on nav buttons * test: Using sendKeys() instead of click() for IE11 * fix: Missing provider in previous patch * fix: Setting clickToZoom and dblClickToZoom to false. This prevent events to be triggered twice when overriding OSD events removed: Don't need to override pinch event since we can restrict zoom level with minZoomImageRatio added: E2e test for clicking zoom out when already zoomed in. test: E2e: Shortening number of decimals in zoomLevel when checking zoom level is home test: Unit: Setting home zoom before pinching * cleanup * remove: Removed rxjs import from service as its imported in another module test: Added rxjs import to test * test: removing And step from background and moving the expect to the Given step * fix: Changed ControlAnchor to Enum per openSeadragon docs and added values * refactor: Removing viewer.feature as this test is done elsewhere * refactor: Removing NavImages since we dont't use it * fix: Empty line between external and internal imports * test: Removing unneeded comments * fix: Removing unused import * refactor: fix after merge * feat: headless testing in chrome Karma and local e2e running Headless Chrome * fix: async test * test: timeout * test: * test: max instances * test: selenium version * test: upgraded chromedriver * test * Update viewer-page.steps.ts * test * Update viewer.po.ts * Update protractor.conf.js * Update viewer.po.ts * Update protractor.conf.js * Update protractor.conf.js * Update protractor.conf.js * test: added karma test for panning * refactor: linting * test: setting browser width and height
- Loading branch information