Skip to content

Conversation

@ioedeveloper
Copy link
Collaborator

No description provided.

class addAtAddressInstance extends EventEmitter {
command (address, isValidFormat, isValidChecksum) {
this.api.perform((done) => {
command (this: NightwatchBrowser, address: string, isValidFormat: boolean, isValidChecksum: boolean): NightwatchBrowser {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds like risky to name a variable this, could be addressed in an another PR..

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not a variable. this is the context which the command function uses. It is normally passed by the caller of the command function from nightwatch. Also, passing parameters into the command function without specifying this works perfectly. It just uses the default context for this which is the addAtAddressInstance class for this example.

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we remove all the reports files or is this necessary to keep them?

Copy link
Collaborator Author

@ioedeveloper ioedeveloper Aug 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we don't need the report files. But git ignores the directories during commit because they are empty. We will need something in it at least to get git to commit the directory.

@yann300 yann300 merged commit 235b084 into master Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

browser-tests e2e tests for remix-ide

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants