-
Notifications
You must be signed in to change notification settings - Fork 626
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
AllReady.ScenarioTest Issues #2345
Comments
@dchristensen - thoughts? I see that you were the last one to touch AllReady.ScenarioTest.fsproj. |
Found another issue related to AllReady.ScenarioTest project. It is missing a dependency on the allReady project. Fixed - PR to come. |
@c0g1t8 I don't know that its worthwhile to spend a lot of time working on the AllReady.ScenarioTest project. They are not well maintained and there isn't really anyone who is actively working on the project who is familiar with F# or canopy. I know @stevejgordon was working to replace them with tests written in C# at one point, but I don't know how far the effort got. |
I'm not sure if having no tests is a better option than converting them to
c# or learning how f# work. Just something to weigh up.
…On Sun., 17 Feb. 2019, 2:17 pm Derek Christensen, ***@***.***> wrote:
@c0g1t8 <https://github.com/c0g1t8> I don't know that its worthwhile to
spend a lot of time working on the AllReady.ScenarioTest project. They are
not well maintained and there isn't really anyone who is actively working
on the project who is familiar with F# or canopy. I know @stevejgordon
<https://github.com/stevejgordon> was working to replace them with tests
written in C# at one point, but I don't know how far the effort got.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2345 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJSQ6gKro1UjWBWMpCQ-QcSehUedh-Xks5vOMm9gaJpZM4a_MYk>
.
|
@dchristensen I agree with you. My primary goal right now is simply to get the web part of the solution building and passing unit tests. I messaged @stevejgordon on Slack a little over a week ago. He indicated that he and @MisterJames were working on some new plans. |
I've changed the description of this issue so it encompasses all the issues I've discovered. I was initially just having issues getting AllReady.ScenarioTest to build consistently.
Even with these changes the test results are inconsistent. That is, tests that may have passed before may or may not pass when the test is run again. Two tests do fail consistently.
Resolving this locally is next on my list. Again the goal is to simply to get an acceptable build in AppVeyor. |
Attempted to isolate a fix for this issue alone - PR #2350. The initial error is a timeout. This did not occur when the test was run locally. Did get the two test case failures as noted above locally. Could it be that the build server needs more time to warm up? |
Temporarily disabled the two broken tests and committed -3bec725. The results still show a timeout at line 646. Now looking into extending the timeouts in Canopy. |
After multiple trial an error, I was able to reproduce the problem found in AppVeyor. The cause appears to be because a critical NPM package was not being restored in the AppVeyor build - jquery. On AppVeyor it's always a clean build straight from the repository and is done through the command line. It appears that the cause of the problem is due some javacript libraries are not being restored. This causes the browser tests fits. The normal build and test cycles in VS2017 seems to have gotten them restored. There appears to be some linkage with #2346. |
I thought I would provide an update on this issue.
|
I've abandoned a possible fix in PR #2350 and closed. I did learn a few things and included the fix as part of PR #2352.
The tests are now passing. After spending many hours on this issue, I think moving the testing to a testing framework with C#/Selenium would be a better long term goal. |
I've done some further testing. The underlying issue with this implementation appears to be timing. An action on a browser page may not be complete before the next action on the browser page is executed. In PR #2352, I had removed knockout-bootstrap to address a warning caused by some jQuery version conflict. It was suppose to be a temporary fix. I was not able to reproduce the problem interactively. Thus my suspicions. |
.net framework 4.6.1 is the last default version of the framework installed with Visual Studio Community 2017 15.9.7. AllReady.ScenarioTest is looking for 4.6.2.
Unless there is a very specific reason for using 4.6.2, I would suggest returning to 4.6.1.
The text was updated successfully, but these errors were encountered: