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

First implementation #1

Merged
merged 1 commit into from
Jun 18, 2020
Merged

First implementation #1

merged 1 commit into from
Jun 18, 2020

Conversation

unlok
Copy link

@unlok unlok commented Jun 17, 2020

No description provided.

@unlok unlok force-pushed the release/0.1.0 branch 3 times, most recently from 260aa76 to 64e25d7 Compare June 18, 2020 08:00
Copy link
Member

@DudaGod DudaGod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

в остальном /ok

package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
lib/config.js Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
lib/index.js Outdated Show resolved Hide resolved
test/lib/index.js Outdated Show resolved Hide resolved
@unlok unlok force-pushed the release/0.1.0 branch 2 times, most recently from c967b2c to a5b4d87 Compare June 18, 2020 13:06
README.md Outdated Show resolved Hide resolved
lib/config.js Outdated Show resolved Hide resolved
test/lib/index.js Outdated Show resolved Hide resolved
@unlok unlok merged commit 8681df2 into master Jun 18, 2020
@unlok unlok deleted the release/0.1.0 branch June 18, 2020 14:44
'70.2': (test) => test.title === 'good for 70.2',
},
filrefox: {
'80': (test) => test.title === 'good for 80',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

нужна валидация версий относительно версий в основном конфиге hermione

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Этот плагин исключительно про установку версий браузера. Неважно, какие версии есть, важно, что мы хотим установить. Логика, где из конфига берется версия и прокидывается дальше - в другом месте и покрыта тестами. Версии браузера в конфиге может и вовсе не быть.

return;
}

test.browserVersion = browserVersion;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c collection.eachTest есть проблема: он итерирует по копиям тестов, и если выставить какое-то поле здесь, а потом поиграться с enable/disable (например в gui), то вот это поле сбросится.
Кажется, что нужно переписать TestCollection

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А это плохие новости(

## Installation

```bash
npm install hermione-browser-version-changer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

почему бы не назвать просто hermione-browser-version?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ну вот как-то обсудили и так назвали. Лично я тоже был за hermione-browser-version =)
С другой стороны browser-version ни о чем не говорит, а так сразу понятно.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants