Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Feature/conditional action #244

Merged
merged 27 commits into from
Sep 9, 2020
Merged

Feature/conditional action #244

merged 27 commits into from
Sep 9, 2020

Conversation

Tiagoperes
Copy link
Contributor

@Tiagoperes Tiagoperes commented Sep 8, 2020

- What I did
closes #243

Implements the conditional action.

Please, also approve https://github.com/ZupIT/beagle-playground/pull/64

- How I did it
Created the action specified at ZupIT/beagle#586

- How to verify it

- Description for the changelog
Adds an action to make conditions.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 8, 2020

Code coverage

Filename Statements Branches Functions Lines
src/logger/index.ts 79.17% 70% 90% 81.82%
src/action/set-context.ts 100% 83.33% 100% 100%
src/beagle-view/render/context.ts 100% 100% 100% 100%
src/error/BeagleParseError.ts 100% 100% 100% 100%
src/error/BeagleError.ts 100% 100% 100% 100%
src/beagle-tree/index.ts 100% 100% 100% 100%
src/beagle-tree/iteration.ts 97.14% 91.67% 87.5% 100%
src/beagle-tree/manipulation.ts 90% 77.78% 100% 100%
src/beagle-tree/reading.ts 97.62% 95.83% 100% 100%
src/beagle-view/render/expression.ts 98.99% 97.33% 100% 100%
src/operation/index.ts 100% 100% 100% 100%
src/operation/array.ts 100% 100% 100% 100%
src/operation/logic.ts 100% 100% 100% 100%
src/operation/number.ts 100% 100% 100% 100%
src/operation/other.ts 100% 100% 100% 100%
src/operation/string.ts 100% 100% 100% 100%
src/utils/automaton.ts 100% 100% 100% 100%
src/error/BeagleNotFoundError.ts 100% 100% 100% 100%
src/action/index.ts 100% 100% 100% 100%
src/action/add-children.ts 100% 90.91% 100% 100%
src/action/send-request.ts 100% 92.31% 100% 100%
src/action/alert.ts 100% 100% 100% 100%
src/action/confirm.ts 100% 100% 100% 100%
src/action/submit-form.ts 25% 0% 0% 25%
src/action/condition.ts 100% 100% 100% 100%
src/action/navigation/index.ts 80.56% 62.5% 100% 82.86%
src/utils/url.ts 100% 100% 100% 100%
src/utils/string.ts 100% 100% 100% 100%
src/utils/object.ts 100% 66.67% 100% 100%
src/beagle-view/render/action.ts 97.06% 96.43% 90% 96.55%
src/service/beagle-service/index.ts 91.67% 100% 66.67% 91.67%
src/beagle-view/index.ts 84.06% 59.38% 81.82% 85.25%
src/beagle-view/render/index.ts 96.97% 92.86% 100% 100%
src/beagle-view/render/component.ts 100% 100% 100% 100%
src/beagle-view/render/navigation.ts 92.31% 87.5% 100% 100%
src/beagle-view/render/styling.ts 94.4% 89.47% 100% 99.09%
src/beagle-view/render/type-checker.ts 100% 100% 100% 100%
src/beagle-view/navigator.ts 97.5% 90% 100% 100%
src/service/beagle-service/configuration.ts 100% 100% 100% 100%
src/metadata/parser.ts 94.44% 75% 100% 100%
src/legacy/middlewares.ts 100% 100% 100% 100%
src/service/beagle-service/services.ts 100% 100% 100% 100%
src/service/network/remote-cache/index.ts 100% 100% 100% 100%
src/service/network/default-headers/index.ts 100% 100% 100% 100%
src/service/network/url-builder/index.ts 100% 100% 100% 100%
src/service/network/view-client/index.ts 100% 95.52% 100% 100%
src/error/BeagleCacheError.ts 100% 100% 100% 100%
src/error/BeagleNetworkError.ts 100% 100% 100% 100%
src/error/BeagleExpiredCacheError.ts 100% 100% 100% 100%
src/service/global-context/index.ts 100% 91.67% 100% 100%
src/service/view-content-manager/index.ts 100% 100% 100% 100%
src/legacy/beagle-context.ts 100% 100% 100% 100%
src/metadata/decorator.ts 100% 100% 100% 100%
src/index.ts 100% 100% 100% 100%

@Tiagoperes Tiagoperes merged commit 972b5d3 into master Sep 9, 2020
@Tiagoperes Tiagoperes deleted the feature/conditional-action branch September 9, 2020 14:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conditional action
3 participants