mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-22 05:07:05 +00:00
fix e2e tests after spectron update
This commit is contained in:
@@ -33,8 +33,8 @@ describe("Position of modules", function () {
|
||||
position = positions[idx];
|
||||
className = position.replace("_", ".");
|
||||
it("show text in " + position, function () {
|
||||
app.client.$("." + className).then((result) => {
|
||||
return this.getText("." + className).should.eventually.equal("Text in " + position);
|
||||
return app.client.$("." + className).then((result) => {
|
||||
return result.getText("." + className).should.eventually.equal("Text in " + position);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user