-
Notifications
You must be signed in to change notification settings - Fork 116
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
refactor: move to office.vue component #3600
Conversation
The failure of direct.spec.js is expected as the full document.js was removed. This and federated editing are two other leftover cases where it is in use which are probably a bit more tricky to migrate. Let's maybe chat tomorrow about those, i need to think a bit about how we can move those over as well |
18d3ec7
to
408ca33
Compare
Signed-off-by: Elizabeth Danzberger <[email protected]>
Signed-off-by: Elizabeth Danzberger <[email protected]>
Signed-off-by: Elizabeth Danzberger <[email protected]>
Signed-off-by: Elizabeth Danzberger <[email protected]>
f4a8381
to
2250420
Compare
Signed-off-by: Julius Härtl <[email protected]>
@elzody I pushed a small revert for We use an environment variable to pass in the collabora url for CI and therefore it was failing with just using the cypress config option: Then the failure of the settings test also caused a failure on the other one as the collabora url has no longer been properly set For adjusting URLs on local runs I usually just use:
|
cy.get('@postMessage', { timeout: 20000 }).should(spy => { | ||
const calls = spy.getCalls() | ||
const findMatchingCall = calls.find(call => call.args[0].indexOf('"MessageId":"App_LoadingStatus"') !== -1) | ||
if (!findMatchingCall) { | ||
return expect(findMatchingCall).to.not.be.undefined | ||
} | ||
const object = JSON.parse(findMatchingCall.args[0]) | ||
expect(object.Values).to.have.property('Status', 'Initialized') | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to move this into a cypress command that can be reused in the future. So we can assert post messages in other tests as wel. For now fine to just keep it as it is i think.
/backport to stable29 |
/backport to stable28 |
/backport to stable27 |
Summary
Removes
document.js
which contains legacy code and is difficult to maintain, replacing it with theOffice.vue
component.This will help complete #3557
Checklist