Skip to content

Commit

Permalink
Implement html structure and fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelMoeri committed Nov 7, 2024
1 parent 1d8d99f commit 9440c56
Show file tree
Hide file tree
Showing 21 changed files with 233 additions and 239 deletions.
17 changes: 17 additions & 0 deletions .run/OkrApplication-local-prod-debug.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

<component name="ProjectRunConfigurationManager">
<configuration default="false" name="OkrApplication Local-prod debug" type="Remote">
<module name="exam-feedback-tool" />
<option name="USE_SOCKET_TRANSPORT" value="true" />
<option name="SERVER_MODE" value="false" />
<option name="SHMEM_ADDRESS" />
<option name="HOST" value="localhost" />
<option name="PORT" value="5005" />
<option name="AUTO_RESTART" value="false" />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="5005" />
<option name="LOCAL" value="false" />
</RunnerSettings>
<method v="2" />
</configuration>
</component>
5 changes: 3 additions & 2 deletions frontend/cypress/e2e/checkIn.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ describe('OKR Check-in e2e tests', () => {
cy.contains('Letztes Check-in (' + getCurrentDate() + ')');
});

it('Should generate checkin list', () => {
// TODO: Re-enable tests in ticket #1014 https://github.com/puzzle/okr/issues/1014
xit('Should generate checkin list', () => {
cy.getByTestId('objective').first().getByTestId('add-keyResult').first().click();
cy.getByTestId('submit').should('be.disabled');

Expand Down Expand Up @@ -307,7 +308,7 @@ describe('OKR Check-in e2e tests', () => {

cy.intercept('**/keyresults/*').as('getKeyResultsAfterSave');
cy.getByTestId('add-check-in').first().click();
cy.get('#old-value').should('not.exist');
cy.getByTestId('old-checkin-value').should('not.exist');
cy.fillOutCheckInMetric(10, 0, 'changeinfo', 'initiatives');
cy.wait('@getKeyResultsAfterSave');

Expand Down
Loading

0 comments on commit 9440c56

Please sign in to comment.