-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Time Conductor input fields do not work at all in real-time mode #4914
Comments
This might be related to #4877 |
Testing instructions: |
Verified! |
e2e Testing notesNote: some of this logic is already available here openmct/e2e/tests/plugins/plot/log-plot.e2e.spec.js Lines 79 to 84 in c089a47
e2e/tests/plugins/timeConductor.e2e.spec.js test.describe('Time Conductor tests')
test('Verify that base page starts in fixed time)
page.goto('/');
//Verify that url is in fixed time
//Verify that Time Conductor starts in fixed time
test('Verify that Time Conductor allows user to switch between fixed time and Real Time')
page.goto('/');
//Verify that Time Conductor starts in fixed time
//Verify that the following things occur when switching to real-time
///// Real time mode is selected
///// Real Time offset defaults to -30 and + 30s
///// Real Time offsets can be modified |
This is how far I got this morning, maybe there is some local setup that I am not aware of that is stoping me. Please let me know @unlikelyzero. Also not sure what specs you guys run your tests on so I will list mine:
|
Do I need to set the log plot for the tests? |
@afahey87 hey, I meant to say that you should start a new test suite named A lot of the code can be seen in the logPlot.e2e.spec.js for reference. I need to update our getting started guide, but that psuedocode I referenced should be the gist of the test. To run it, git clone openmct
nvm use 16 (something greater than 12)
npm install
npm start
npm run test:e2e:local -- smoke At that point, you can write a new test. The comment here #4914 (comment) |
Thank you! Ill give this a go. |
Thanks for the instructions above I was able to run the smoke test. |
@afahey87 yes please update the existing test suite with those two new tests. I didn't realize we had one already! test('Verify that base page starts in fixed time)
page.goto('/');
//Verify that url is in fixed time
//Verify that Time Conductor starts in fixed time
test('Verify that Time Conductor allows user to switch between fixed time and Real Time')
page.goto('/');
//Verify that Time Conductor starts in fixed time
//Verify that the following things occur when switching to real-time
///// Real time mode is selected
///// Real Time offset defaults to -30 and + 30s
///// Real Time offsets can be modified |
@unlikelyzero I am having some issues with my branch. When I go to make a PR I am not able to see my local branch.
Do we need to add permissions to my git username to open a PR / See my branch? How do you see the local branch in github if you cant push changes? I must be missing something. |
I am not able to create a branch from the website https://github.com/nasa/openmct I am thinking it must be a permission thing. |
@afahey87 you'll need to make a fork and branch |
Alright third times a charm here we go. |
@unlikelyzero I have my PR up ready for initial review and feedback. #5169 |
Summary
In real-time mode the inputs for the time conductor do not work at all, preventing the user from changing the real-time conductor offsets.
Expected vs Current Behavior
Clicking on the start or end time conductor offsets in the time conductor should allow the user to change the offset values.
Steps to Reproduce
Environment
Impact Check List
Additional Information
Initial investigation suggests that this is a Vue version issue.
The text was updated successfully, but these errors were encountered: