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

Unit Test Issues #9

Open
arpetris opened this issue Jan 24, 2020 · 0 comments
Open

Unit Test Issues #9

arpetris opened this issue Jan 24, 2020 · 0 comments

Comments

@arpetris
Copy link

I used the unit tests to verify that I had my eBay developer account set up correctly, and I found several issues with the unit tests.

  1. For the GetAccessToken_EndToEnd_Production and GetAccessToken_EndToEnd_Sandbox tests the sign in page no longer has element id's of userid and pass, instead they are numeric and change for each visit to the sign in form. I didn't look at changing the logic to find the correct fields, I debugged the test case and manually gave access.

  2. At least for my eBay developer account the values in the scopes list were only valid for the sandbox so GetAccessToken_EndToEnd_Production would fail with an invalid scope error.

  3. XUnit no longer writes to the console. Instead it takes a ITestOutputHelper as an argument to the test constructor and saves the references. Then it uses that reference to log. The log results are available in the Test Detail Summary for each test.

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

1 participant