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

CP-2938 [E2E][HomePage] MC Update available - Soft update #2020

Merged
merged 6 commits into from
Aug 22, 2024
Merged
Prev Previous commit
Merge branch 'develop' into CP-2938-rebase
  • Loading branch information
tmaleckiplacester committed Aug 22, 2024
commit 3ff3a9fb253204afb5e31800cb2a4a7bfd1919eb
33 changes: 3 additions & 30 deletions apps/mudita-center-e2e/wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,11 @@ export const config: Options.Testrunner = {
toRelativePath(TestFilesPaths.licenseTest),
],
mock: [
toRelativePath(TestFilesPaths.mcHomePageForceUpdateTest),
toRelativePath(TestFilesPaths.mcHomePageSoftUpdateTest),
toRelativePath(TestFilesPaths.newsPageOfflineTest),
toRelativePath(TestFilesPaths.mcCheckForUpdatesTest),
toRelativePath(TestFilesPaths.mcCheckForUpdatesOfflineTest),
toRelativePath(TestFilesPaths.newsPageOfflineTest),
//toRelativePath(TestFilesPaths.helpWindowCheckOfflineTest),
toRelativePath(TestFilesPaths.mcHomePageSoftUpdateTest),
toRelativePath(TestFilesPaths.mcHomePageForceUpdateTest),
toRelativePath(TestFilesPaths.kompaktOverview),
toRelativePath(TestFilesPaths.kompaktSwitchingDevices),
Expand Down Expand Up @@ -385,33 +384,7 @@ export const config: Options.Testrunner = {
* @param {Array.<Object>} capabilities list of capabilities details
* @param {<Object>} results object containing test results
*/
// onComplete: function (wdioExitCode, config, capabilities, results) {
// const reportError = new Error("Could not generate Allure report")
// const generation = allure(["generate", "allure-results", "--clean"])
// return new Promise<void>((resolve, reject) => {
// const generationTimeout = setTimeout(() => {
// console.log("Allure generation timeout")
// return reject(reportError)
// }, 60 * 1000)

// generation.on("exit", function (allureExitCode: number) {
// clearTimeout(generationTimeout)
// if (allureExitCode !== 0) {
// console.log(`Error in allure generation: exit code=${allureExitCode}`)
// return reject(reportError)
// }
// console.log(
// "Wdio Test Suite Exit Code: ",
// wdioExitCode,
// "Allure Exit Code: ",
// allureExitCode
// )

// console.log("Allure Report Generation Success")

// return resolve(process.exit(0))
// })
// })
// onComplete: function(exitCode, config, capabilities, results) {
// },
/**
* Gets executed when a refresh happens.
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.