Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

join() argument must be str or bytes, not 'NoneType' when run Open Eyes|lib='Selenium2Library'|tolerance=5 #59

Closed
nixuewei opened this issue Jul 28, 2020 · 4 comments

Comments

@nixuewei
Copy link

Describe the bug
join() argument must be str or bytes, not 'NoneType' when run Open Eyes|lib='Selenium2Library'|tolerance=5

To Reproduce
Steps to reproduce the behavior:

  1. install pip install robotframework-eyes
  2. install Imagemagick7 on windows10 or macos Catalina 10.15.5
  3. copy code
    `*** Settings ***
    Test Teardown
    Library SeleniumLibrary
    Library RobotEyes

*** Test Cases ***
Sample visual regression test case
# Name of the example test case
Open Browser https://www.baidu.com/ chrome
Maximize Browser Window
Open Eyes lib='Selenium2Library' tolerance=5
Wait Until Element Is Visible id=kw
Capture Full Screen
Compare Images
Close Browser`
4. See error

Expected behavior
run successfully

Screenshots
Starting test: CBTCTest.Visual Regression.Sample visual regression test case
20200728 12:04:23.045 : INFO : Opening browser 'chrome' to base url 'https://www.baidu.com/'.
20200728 12:04:33.229 : FAIL : TypeError: join() argument must be str or bytes, not 'NoneType'
Ending test: CBTCTest.Visual Regression.Sample visual regression test case

Desktop (please complete the following information):

  • OS: windows10 or macos Catalina 10.15.5
  • Browser [chrome]
@jessezach
Copy link
Owner

@nixuewei Did you pass the path to baseline directory and output directory when running tests. Refer the ReadMe for the command.

@nixuewei
Copy link
Author

sorry for my misunderstanding the document, after running on command, it works well. so great. thank you! please close it

@jessezach
Copy link
Owner

@nixuewei That's alright. I will add a validation for the path in the upcoming release to avoid any confusion. Keeping this ticket open until then.

@nixuewei
Copy link
Author

that was great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants