Skip to content

Commit

Permalink
updated jsdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
cea2aj committed Jun 11, 2021
1 parent 84787b0 commit cac3bf6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tests/acceptance/blocks/pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ class Pagination {
this._nextResultsButton = Selector('.js-yxt-Pagination-next');
}

/**
* Clicks the next results page button
*/
async nextResults () {
await Page.scrollToBottom(); // We must scroll to the bottom of the page to be able to click the next results page button
await t.click(this._nextResultsButton);
Expand Down
6 changes: 5 additions & 1 deletion tests/acceptance/blocks/thememap.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ class ThemeMap {
await t.click(this._canvas);
}

/**
* Gets the current zoom of the map
* @returns {Promise<number>}
*/
async getZoom () {
const zoom = await ClientFunction(() => {
return ANSWERS
Expand All @@ -55,7 +59,7 @@ class ThemeMap {
}

/**
* Waits for the map zoom to sabilize
* Waits for the map zoom to stabilize
*/
async waitForZoomStabilization () {
const pollingIntervalMsecs = 500;
Expand Down

0 comments on commit cac3bf6

Please sign in to comment.