-
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
Feat/example page test option #372
Conversation
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.
[04/01] ํ์ธํ์ต๋๋ค.
driver.executeScript(`return window.${errorLogVariable}`);
errorLogVariable
์ด false
๊ฐ์ด ๋ฐํ๋ ์๋ ์๋๋ฐ ํ์ธ๋ถํ๋๋ ค์.
exampleTest.js
Outdated
@@ -96,7 +101,7 @@ async function testPlatform(platformInfo, urls) { | |||
, DOCUMENT_LOAD_MAX_TIMEOUT); | |||
|
|||
const browserInfo = await driver.getCapabilities(); | |||
const errorLogs = await driver.executeScript('return window.errorLogs'); | |||
const errorLogs = await driver.executeScript(`return window.${errorLogVariable}`); |
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.
getGlobalErrorLogVariable()
์์ false
๊ฐ์ด ๋ฐํ๋ ์ ๋์์ต๋๋ค.
ํ์ธ๋ถํ๋๋ ค์.
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.
ใ ใ ์ ๊ทธ๋ ๋ค์;; ๊ฐ์ฌํฉ๋๋ค ํฐ์ผ๋ ๋ป ํ๋ค์
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.
globalErrorLogVariable
๊ฐ์ด ์ ํจํ ๊ฒฝ์ฐ์๋ง ์คํฌ๋ฆฝํธ๋ฅผ ์คํํ ์ ์๋๋ก ์ฒ๋ฆฌํ๋๊ฒ ์ข์ ๊ฒ ๊ฐ์ต๋๋ค.
์ ์๊ฐ์๋ testPlatform
ํจ์๊ฐ ํธ์ถ๋๊ธฐ ์ ์ ์ฒดํฌํ๋๊ฒ ๋ง์ ๊ฒ ๊ฐ์์.
globalErrorLogVariable
์ต์
๊ฐ์ด false
์ธ๋ฐ ์คํฌ๋ฆฝํธ๋ฅผ ์คํํ๋๊ฒ ์๋ฏธ๊ฐ ์์ด๋ณด์ฌ์์ใ
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.
์ ์์ ์๋ ์๊ฒฌ์ด ์ ๋ต์ด๋ค์. ๋ฐ๋ก ๋ฐ์ํ๊ฒ ์ต๋๋ค.
์ ํ๋ฆฌ์ผ์ด์ ์ ์ฉ ๊ฐ์ด๋๊ฐ ์์ผ๋ฉด ํ์ธํด๋ณผ ์ ์์๊น์?
์ด๋ ๊ฒ ์์ ํ๋ฉด๋๋์?~ |
@jungeun-cho ๋ด์ผ ์คํฌ๋ผ๋ ๊ณต์ ํ ๋ ค๊ณ ํ๋๋ฐ ๋ฏธ๋ฆฌ url ์๋ ค๋๋ฆด๊ป์ |
๋ฆฌ๋ทฐ ์๋ฃ์ ๋๋ค~ |
tuidoc.config.json
Outdated
@@ -31,7 +31,8 @@ | |||
"example01-includeUi": "1. Include ui", | |||
"example02-useApiDirect": "2. Use api direct (basic)", | |||
"example03-mobile": "3. Mobile" | |||
} | |||
}, | |||
"globalErrorLogVariable": "errorLogs" |
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.
"globalErrorLogVariable": true
๋ก ํด๋ ๋์ง ์์๊น์?ใ
์๋๋ฉด ์์ ๋ก ์ฌ์ฉํ์ ๊ฑด๊ฐ์??
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.
true๋ก ํ๋ฉด ๋๊ฒ ๋ค์ใ ใ ๋ฆฌ๋ทฐ ๊ฐ์ฌํฉ๋๋ค.
[4/2] ๋ฆฌ๋ทฐ ์๋ฃํฉ๋๋ค. ๊ณ ์ ๋ง์ผ์ จ์ด์~ |
apply review #373 |
* change option globalErrorLogVariable * some refactoring
Please check if the PR fulfills these requirements
fix #xxx[,#xxx]
, where "xxx" is the issue number)Description
Thank you for your contribution to TOAST UI product. ๐ ๐ โจ