@justeat/f-button
Advanced tools
Comparing version 3.4.0 to 3.4.1
@@ -7,2 +7,20 @@ # Changelog | ||
v3.4.1 | ||
------------------------------ | ||
*Jun 10, 2022* | ||
### Changed | ||
- Bumped wdio version and fixed breaking changes. | ||
*May 27, 2022* | ||
### Removed | ||
- unneeded `load` and `waitForComponent` functions from component object | ||
*May 26, 2022* | ||
### Changed | ||
- Refactor WebDriverIO tests to use async in order to support Node 16 using `codemod` utility. | ||
v3.4.0 | ||
@@ -9,0 +27,0 @@ ------------------------------ |
{ | ||
"name": "@justeat/f-button", | ||
"description": "Fozzie Button – The generic button component", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"main": "dist/f-button.umd.min.js", | ||
@@ -63,3 +63,3 @@ "maxBundleSize": "5kB", | ||
"devDependencies": { | ||
"@justeat/f-wdio-utils": "0.5.0", | ||
"@justeat/f-wdio-utils": "0.11.0", | ||
"@justeattakeaway/pie-icons-vue": "1.0.0", | ||
@@ -71,3 +71,3 @@ "@vue/cli-plugin-babel": "4.5.16", | ||
}, | ||
"gitHead": "5062b8fdfe279491e806e674953c111a87970d07" | ||
"gitHead": "b644fd53806774bf0e51a1e70ff68d64b3617072" | ||
} |
@@ -1,2 +0,2 @@ | ||
const Page = require('@justeat/f-wdio-utils/src/page.object'); | ||
const Page = require('@justeat/f-wdio-utils/src/base.page'); | ||
@@ -8,19 +8,8 @@ module.exports = class ActionButton extends Page { | ||
// Overriding base implementation | ||
get component () { return $('[data-test-id="action-button-component"]'); } | ||
load () { | ||
super.load(this.component); | ||
} | ||
waitForComponent () { | ||
super.waitForComponent(this.component); | ||
} | ||
isComponentDisplayed () { | ||
return this.component.isDisplayed(); | ||
} | ||
isComponentClickable () { | ||
async isComponentClickable () { | ||
return this.component.isClickable(); | ||
} | ||
}; |
@@ -1,2 +0,2 @@ | ||
const Page = require('@justeat/f-wdio-utils/src/page.object'); | ||
const Page = require('@justeat/f-wdio-utils/src/base.page'); | ||
@@ -8,19 +8,8 @@ module.exports = class IconButton extends Page { | ||
// Overriding base implementation | ||
get component () { return $('[data-test-id="action-button-component"]'); } | ||
load () { | ||
super.load(this.component); | ||
} | ||
waitForComponent () { | ||
super.waitForComponent(this.component); | ||
} | ||
isComponentDisplayed () { | ||
return this.component.isDisplayed(); | ||
} | ||
isComponentClickable () { | ||
async isComponentClickable () { | ||
return this.component.isClickable(); | ||
} | ||
}; |
@@ -1,2 +0,2 @@ | ||
const Page = require('@justeat/f-wdio-utils/src/page.object'); | ||
const Page = require('@justeat/f-wdio-utils/src/base.page'); | ||
@@ -8,19 +8,8 @@ module.exports = class LinkButton extends Page { | ||
// Overridding base implementation | ||
get component () { return $('[data-test-id="link-button-component"]'); } | ||
load () { | ||
super.load(this.component); | ||
} | ||
waitForComponent () { | ||
super.waitForComponent(this.component); | ||
} | ||
isComponentDisplayed () { | ||
return this.component.isDisplayed(); | ||
} | ||
isComponentClickable () { | ||
async isComponentClickable () { | ||
return this.component.isClickable(); | ||
} | ||
}; |
262301
1358