Commit graph

170 commits

Author SHA1 Message Date
Arthur
22439f30e8
[e2e] TopicTests.recreateTopicFromTopicProfile : Recreate topic from topic profile (#3125)
* [e2e] TopicTests.recreateTopicFromTopicProfile : Recreate topic from topic profile

* [e2e] TopicTests.recreateTopicFromTopicProfile : Recreate topic from topic profile

* [e2e] Final Fix. add topicSettingsTab.waitUntilScreenReady();

* [e2e] Final Fix.

* [e2e] Final Fix 2.
2022-12-23 15:48:05 +02:00
Arthur
a9d7d6c515
[e2e] Checking Topics settings to make sure retention.bytes is right according to Max size on disk in GB selected value (#3118)
* [e2e] Checking Topics settings to make sure retention.bytes is right according to Max size on disk in GB selected value. Created new class - SettingsPanel and inner class in SettingsPanel. Add new test to Topicstests.

* First Update. Checking Topics settings to make sure retention.bytes is right according to Max size on disk in GB selected value

* Second Update. Checking Topics settings to make sure retention.bytes is right according to Max size on disk in GB selected value

* Second Update. Checking Topics settings to make sure retention.bytes is right according to Max size on disk in GB selected value

* [e2e] Final Fix. add topicSettingsTab.waitUntilScreenReady();
2022-12-22 18:05:38 +02:00
Arthur
ca3916aae0
[e2e] Update case "Checking the information of used Broker in a cluster" (#3094)
* [e2e] Update case "Checking the information of used Broker in a cluster"

* [e2e] Update case "Checking the information of used Broker in a cluster"

* [e2e] Update case "Checking the information of used Broker in a cluster"

* [e2e]First Fix Update case "Checking the information of used Broker in a cluster"

* [e2e]Second Fix Update case "Checking the information of used Broker in a cluster"

* [e2e]Third Fix Update case "Checking the information of used Broker in a cluster"

* [e2e]Third Fix Update case "Checking the information of used Broker in a cluster"

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
2022-12-20 18:19:31 +02:00
Alexandr Nezboretskiy
de7f7db269
[e2e]Checking messages filtering by Offset within Topic/Messages (#3066)
* Checking messages filtering by Offset within Topic/Messages

* Fix test checkTimeToRetainDataCustomValueWithEditingTopic(), refactored assertions on topicCreateEditForm from "604800000" to ""

* Fix test checkTimeToRetainDataCustomValueWithEditingTopic(),added setNumberOfPartitions as mandatory field

* resolve conversations

* resolve conversations

* resolve conversations
2022-12-19 18:10:29 +02:00
Arthur
c13440b65d
[e2e] Create method with common steps inside test classes (#3045)
* [e2e] Create method with common steps inside test classes. Connectors, Schema, Brokers are done.

* [e2e] Create method with common steps inside test classes. Topics are done.

* [e2e] First Fix. Create method with common steps inside test classes.

* [e2e]TopicName in redirectToConsumerFromTopic changed.

* [e2e]TopicName in redirectToConsumerFromTopic returned.

* [e2e]Broker tests fix.

* [e2e]Topic tests fix. .setNumberOfPartitions(1) and setTimeToRetainDataInMs("604800000") added.

* [e2e]Topic tests fix. verifyVisibleElements() and verifyEnabledElements added.

* [e2e]Topic tests fix. verifyVisibleElements() and verifyEnabledElements added.

* [e2e]Fix with verifyElementsCondition()

* [e2e]Fix SmokeTests.

* [e2e]Fix2 SmokeTests.
2022-12-16 14:32:20 +02:00
Roman Zabaluev
a5449027b7 Merge remote-tracking branch 'origin/master' into dev 2022-12-09 23:13:14 +08:00
Hrant Abrahamyan
b0c897b5c8
UI support for MSK (#2828)
* UI support for MSK

* fixed test changes

* fixed pull request comments

* Use the opposite operator (!==) instead.

* fixed update topic

* Minor code modifications in the Edit Submission logic

* minor typescript code change, in the TopicFormData

* minor CustomParamField short circuit code efficiency improveral

* Topic Form Edit , sanitization of Default non-dirty fields, while sending the dynamic ones

* fix checkTopicCreatePossibility()

* fix checkTopicCreatePossibility()

Co-authored-by: Mgrdich <46796009+Mgrdich@users.noreply.github.com>
Co-authored-by: Mgrdich <mgotm13@gmail.com>
Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2022-12-09 19:09:13 +04:00
Alexandr Nezboretskiy
b6b1b8bda5
[e2e]Checking applying saved filter within Topic/Messages (#3029)
* [e2e]Checking applying saved filter within Topic/Messages

* resolve conversations

* resolve conversation
2022-12-06 19:17:46 +02:00
Alexandr Nezboretskiy
d2d039e36c
[e2e]Checking 'Time to retain data (in ms)' custom value with editing… (#3023)
* [e2e]Checking 'Time to retain data (in ms)' custom value with editing Topic's settings

* resolve conversations

* resolve conversation and refactored test addingNewFilterWithinTopic() with randomAlphabetic()

* resolve conversation and refactored test checkFilterSavingWithinSavedFilters() with randomAlphabetic()
2022-12-06 12:13:36 +02:00
Roman Zabaluev
25d34e11e4 Merge remote-tracking branch 'origin/master' into dev 2022-12-06 12:52:29 +08:00
Arthur
0a24b2d765
[e2e]Checking the Brokers overview (#3014)
* [e2e]Checking the Brokers overview

* [e2e]FirstUpdate Checking the Brokers overview

* [e2e]SecondUpdate Checking the Brokers overview

* [e2e]FirstFix Checking the Brokers overview

* [e2e]FirstFix Checking the Brokers overview
2022-12-05 13:56:54 +02:00
dependabot[bot]
8717416d85
Bump dotenv-java from 2.2.4 to 2.3.1 (#3008)
Bumps [dotenv-java](https://github.com/cdimascio/dotenv-java) from 2.2.4 to 2.3.1.
- [Release notes](https://github.com/cdimascio/dotenv-java/releases)
- [Changelog](https://github.com/cdimascio/dotenv-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cdimascio/dotenv-java/commits/v2.3.1)

---
updated-dependencies:
- dependency-name: io.github.cdimascio:dotenv-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-02 19:44:26 +04:00
Alexandr Nezboretskiy
a503c29472
[e2e]Checking filter saving within Messages/Topic profile/Saved Filters (#3003)
* [e2e]Checking filter saving within Messages/Topic profile/Saved Filters

* resolve conversation

* resolve conversation

* resolve conversation

* resolve conversation

* resolve conversation

* resolve conversation
2022-12-02 16:30:10 +02:00
dependabot[bot]
45f304ac9f
Bump allure-java-commons from 2.18.1 to 2.20.1 (#2912)
Bumps [allure-java-commons](https://github.com/allure-framework/allure-java) from 2.18.1 to 2.20.1.
- [Release notes](https://github.com/allure-framework/allure-java/releases)
- [Commits](https://github.com/allure-framework/allure-java/compare/2.18.1...2.20.1)

---
updated-dependencies:
- dependency-name: io.qameta.allure:allure-java-commons
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-02 12:08:07 +04:00
dependabot[bot]
ec5b59de60
Bump aspectj.version from 1.9.8 to 1.9.9.1 (#2936)
Bumps `aspectj.version` from 1.9.8 to 1.9.9.1.

Updates `aspectjrt` from 1.9.8 to 1.9.9.1
- [Release notes](https://github.com/eclipse/org.aspectj/releases)
- [Commits](https://github.com/eclipse/org.aspectj/commits)

Updates `aspectjweaver` from 1.9.8 to 1.9.9.1
- [Release notes](https://github.com/eclipse/org.aspectj/releases)
- [Commits](https://github.com/eclipse/org.aspectj/commits)

---
updated-dependencies:
- dependency-name: org.aspectj:aspectjrt
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.aspectj:aspectjweaver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-02 11:04:15 +04:00
Alexandr Nezboretskiy
86c72d7d85
[e2e]SchemasTests.updateSchemaAvro : Update schema avro ( REFACTORED WITH NEW ASSERTIONS) (#2992)
* Added softAssertions and few methods for assert

* Refactored softAssertions and few methods for assert
2022-11-30 16:01:09 +02:00
Arthur
27db304b1b
[e2e]Checking 'Show Internal Topics' toggle functionality within 'All Topics' page/Issue#2938 (#2983)
* [e2e] Checking 'Show Internal Topics' toggle functionality within 'All Topics' page

* [e2e] First Checking 'Show Internal Topics' toggle functionality within 'All Topics' page

* [e2e] Second Checking 'Show Internal Topics' toggle functionality within 'All Topics' page

* [e2e] selectItem locator is changed

* [e2e] assertion added

* [e2e] assertion added
2022-11-29 17:15:08 +02:00
Alexandr Nezboretskiy
5f232a3966
Issue/checking available operations for selected topic within 'all topics' page (#2972)
* Update TopicTests and added new methods

* Delete actionButtonsLocator

* Resolve conversation

* Refactored SoftAssertions

* Changed custom topics for default

* Changed custom topics for default

* Changed custom topics for default

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
2022-11-25 17:17:16 +02:00
Alexandr Nezboretskiy
9457d5ff2b
Issue/copy checking compare versions operation for schema (#2951)
* resolve conversation

* Refactored assetions in SchemasTests -> compareVersionOperation

* Rename method selectFirstVersionFromDropDown

* last changes

* resolve conversations

* resolve conversations

* rename elementLocatorDdl to ddlElementLocator

* Resolve conversation

* Resolve conversation

* Resolved

* Resolved conversation

* Resolved conversation

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
2022-11-21 14:02:10 +02:00
Anton Mnykh
d1013b69da
[e2e] Checking Filter adding within Topics/Topic/Messages with filled required fields (#2939)
* soft assertion method refactored

* getFilterName() method refactored

* soft assertions refactoring

* add softAssertions

* add softAssertions

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2022-11-21 13:44:22 +02:00
Jochen Schalanda
0d0a244915
Centralize dependency versions and bump where necessary (#2929) 2022-11-15 14:22:16 +04:00
Arthur
818149977c
[e2e]Checking the information of used Broker in a cluster (#2931)
* [e2e] Fix1

* [e2e] BrokersDetails added

* [e2e] BrokersDetails added

* [e2e] Lists in Details Added

* [e2e] Fix WebUtils

* [e2e] All changes

* [e2e] Fix2
2022-11-14 18:02:34 +02:00
Alexandr Nezboretskiy
6de731778b
Issue/copy checking topics section within kafka UI application (#2925)
* Commit

* Moved and renamed classes from Tests

* Added new methods and refactored getRandomMessage()

* Moved SmokeTests from tests to com.provectus.kafka.ui

* Moved SmokeTests from com.provectus.kafka.ui to Suite

* resolve conversation

* resolve conversation
2022-11-11 15:19:11 +02:00
Anton Mnykh
af1065fca8
[e2e] TopicTests.messageCopyFromTopicProfile : Message copy from topic profile (#2901)
* test fix

* test fix2

* locator fix

* test fix

* test fix2

* test fix2

* test fix3

* fix clearMessage test
add MessageGridItem class

* fix clearMessage test
add MessageGridItem class

* disabled copyMessageFromTopicProfile
added link to issue

Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
2022-11-10 13:06:15 +02:00
Alexandr Nezboretskiy
5a06d659e2
Issue/copy specify abstract objects as much as possible cross screen classes (#2913)
* Reformat all classes and add extends dependencies

* Refactored of base locators

* Fix and resolve conflicts

* Refactored BasePage methods and Pages classes

* Refactored unused locators

* Added extends ConsumersList

* Resolve conversation
2022-11-09 13:52:20 +02:00
Arthur
fce4c23276
[e2e] Checking requiredness of Custom parameters within 'Create new Topic' (#2904)
* [e2e] Checking requiredness of Custom parameters within 'Create new Topic' #2889

* [e2e] Checking requiredness of Custom parameters within 'Create new Topic' #2889

* [e2e] Checking requiredness of Custom parameters within 'Create new Topic' #2889

* [e2e] Fix1

* [e2e] Fix1
2022-11-08 17:54:50 +02:00
Jochen Schalanda
c86a429a17
[e2e] Fix NPE with Qase if the token is unavailable (#2896)
* Fix NullPointerException in QaseExtension if token is unavailable

The `QaseExtension` JUnit extension fails with a `NullPointerException` if `QASE_API_TOKEN` is unset.

Ideally, the extension would skip execution if the token was unavailable instead of failing.

* Emit warning if Qase is disabled locally
2022-11-08 15:27:09 +04:00
Mgrdich
b0782da7d1
[FE] Add a space to formatted sizes (#2848)
* Add space to formatted sizes + modification in the test components

* Bytes-format component to be treated as a single word

* fix TopicTests()

* Merge branch 'master' into issues/2676

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2022-11-07 17:01:57 +04:00
Vlad Senyuta
1b1caddd31
[e2e] fix TopicTest hardcode (#2894) 2022-11-07 15:41:04 +04:00
Jochen Schalanda
5b3478fdc3
Bump Maven to version 3.8.6 and reduce noise (#2882)
* Bump Maven wrapper to Maven 3.8.6

Using the official [Maven Wrapper](https://maven.apache.org/wrapper/) which was forked from the 3rd party Maven Wrapper plugin.

* Use Maven wrapper in GitHub workflows

* Reduce Maven-related noise in build jobs

```
-B,--batch-mode                        Run in non-interactive (batch)
                                        mode (disables output color)
-ntp,--no-transfer-progress            Do not display transfer progress
```
2022-11-07 15:18:50 +04:00
Jochen Schalanda
62f35e3e29
Upgrade to Java 17 (Azul Zulu) (#2879)
* Feature: Upgrade to Java 17 (Azul Zulu)

Java/OpenJDK 13 has reached end of life (and end of security support)
more than 2.5 years ago: https://endoflife.date/java

This change set updates the build, CI pipeline, and Docker image of Kafka UI to Java 17 (LTS).

* Add back maven-compile-plugin to kafka-ui-e2e-checks
2022-11-07 14:57:59 +04:00
Arthur
70cdeea819
[e2e] Checking Topic creation possibility in case of empty Topic Name (#2888)
* [e2e] Checking Topic creation possibility in case of empty Topic Name

* [e2e] Fix1. createTopicButtonIsEnabled() changed to isCreateTopicButtonEnabled()
2022-11-07 12:39:16 +02:00
Arthur
b1891c021b
[e2e] review tests to use more object details while creating and updating #2699 (#2864)
* [e2e] review tests to use more object details while creating and updating#2699

* [e2e] review tests to use more object details while creating and updating#2699

* [e2e] review tests to use more object details while creating and updating#2699

* [e2e] review tests to use more object details while creating and updating#2699

* [e2e] review tests to use more object details while creating and updating#2699

* [e2e]Fix review tests to use more object details while creating and updating#2699

* [e2e]Fix2 review tests to use more object details while creating and updating#2699

* [e2e]Fix3 review tests to use more object details while creating and updating#2699

* [e2e]Fix3 review tests to use more object details while creating and updating#2699

* [e2e]Fix3 review tests to use more object details while creating and updating#2699

* [e2e]Fix3 review tests to use more object details while creating and updating#2699

* [e2e]Fix3 review tests to use more object details while creating and updating#2699

* [e2e]Fix without loadingSpinner.

* [e2e]Fix without loadingSpinner.

* [e2e]Fix without configTab.

* fix KafkaConnectList()

* [e2e]Fix with refresh.

* fix ConnectorsTests()

Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2022-11-04 14:03:33 +02:00
Alexandr Nezboretskiy
ee920b43c4
Issue/refactoring of smoke test (#2851)
* Deleted methods like screenShooter from BaseTest

* Added TopPanel object class in Facade

* Added List of SideMenuOptions

* Deleted Screenshooter.java

* Deleted NoReferenceScreenshotFoundException.java

* Add methods in TopPanel

* Refactored SmokeTests class

* Refactored SmokeTests class

* Refactored SmokeTests class

* Resolve conversation

* Reformat discordBtn locator

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
2022-11-01 15:10:16 +02:00
Anton Mnykh
77f789fa6c
[e2e] TopicTests.redirectToConsumerFromTopicProfile : Redirect to consumer from topic profile (#2823)
* redirectToConsumerFromTopic init test created

* test execution clarification

* fix

* test brushing up

* test brushing up

* test brushing up

* test brushing up

* test brushing up

* test brushing up
2022-11-01 11:27:04 +02:00
Roman Zabaluev
2853b34b5f
Bump netty version (#2830) 2022-10-27 00:03:42 +04:00
Vlad Senyuta
a2e87cc8d5
[e2e] Fix openTopic() method to wait element (#2809) 2022-10-24 12:13:06 +04:00
Anton Mnykh
40c3bcf82b
Issue/2774 2 (#2785)
* clear message Test updated issue-2774

* clear message Test created issue-2774

* conflict resolving

* conflict resolving

* conflict resolving

* fix
2022-10-21 14:43:21 +03:00
Alexandr Nezboretskiy
7f92c0f2e5
[e2e] refactor POM classes structure (#2736)
* Resolved conflicts

* revert QaseExtension

* Added waiter

* Deleted unused imports

* Renamed method clickOnButton

* Added waitUntil

* Refactored SelenideElements

* Refactored xPath in ConnectorCreateForm

* Resolve conversations

* Revert xPath

* Resolved conversations

* Resolved conversations

* Resolved conversations

* Deleted clickByJavaScript

* Refactored methods setConnectorConfig and setConfig, added alertMessage condition

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
2022-10-20 12:29:39 +03:00
Kris-K-Dev
7d5b7de992
#2325 Make connectors table rows clickable and #2076 Implement connec… (#2689)
* #2325 Make connectors table rows clickable and #2076 Implement connectors sorting

* #2325 fix status sorting

* fix ConnectorsTests

* #2325 code review

* #2325 add test coverage

* #2325 code review fix

* #2325 fix redirects for topics

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2022-10-07 11:20:22 -04:00
Hrant Abrahamyan
80eb2dccfe
Unify tabs placement (#2637)
* Unify tabs placement

* moved topic page pane

* change

* remove topic pane change

* fix ConnectorsTests

Co-authored-by: Oleg Shur <workshur@gmail.com>
Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2022-10-07 17:04:21 +04:00
Arthur
67eea972f7
Create navigation thru the app using web driver (#2701)
* [e2e] create navigation thru the app using web driver #2642

* [e2e]Fix create navigation thru the app using web driver #2642

* [e2e]Fix create navigation thru the app using web driver #2642

* [e2e]Fix2 create navigation thru the app using web driver #2642

* [e2e]Fix3 create navigation thru the app using web driver #2642

* [e2e]Fix4 create navigation thru the app using web driver #2642

* [e2e]Fix5 create navigation thru the app using web driver #2642

* [e2e]Fix6 create navigation thru the app using web driver #2642

* [e2e]Fix7 create navigation thru the app using web driver #2642

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
2022-10-07 15:01:58 +03:00
Alexandr Nezboretskiy
f8f3d87259
[e2e] Rename POM classes according to their type and naming on UI (#2698)
* Renamed classes for same name with UI

* Facade refactored

* Deleted SchemaCreateView.java

* accompanying changes

* deleted SchemaCreateView.java

* delete ConnectorDetails.java outdated

* add new ConnectorDetails class

* refactored of ConnectorCreateForm

* Added spaces between methods
2022-10-04 09:23:36 +03:00
David-DB88
68218668ec
fixed tests connectors buttons with a sandwich menu #2403 (#2666)
* fixed tests connectors buttons with a sandwich menu #2403

* Changed color delete button and fixed tests #2403

* fix deleteConnector()

* fix deleteConnector()

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
Co-authored-by: Oleg Shur <workshur@gmail.com>
Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2022-10-03 11:42:48 +03:00
Alexandr Nezboretskiy
3f4791ff0a
[e2e] create screen facade class and refactor objects of page classes (#2656)
* Deleted classes Pages.java, Helpers.java

* Refactored BaseTest.java, added extension of Facade

* Deleted ExtensionMethod(WaitUtils.class) from ConnectorCreateView

* Refactored of TestClasses, added new TestInstance(TestInstance.Lifecycle.PER_CLASS) annotation for using nonstatic BeforeAll/AfterAll annotation

* Deleted ExtensionMethod(WaitUtils.class) annotation in ConnectorsView

* Refactored SmokeTests

* Added new abstract class Facade

* ConnectorsTests upd

* BaseTest resolved

* Initial new object classes in Facade

* Fix and refactored test classes

* Revert "Fix and refactored test classes"

This reverts commit b0890b32ca.

* rename apiHelpers / apiHelper

* refactored "new Objects classes"
2022-09-29 14:34:48 +03:00
Arthur
63719d718d
Issue_2438 (#2649)
* [e2e] create Setup class and refactoring of BaseTest #2438

* [e2e] create Setup class and refactoring of BaseTest #2438

Co-authored-by: Vlad Senyuta <66071557+VladSenyuta@users.noreply.github.com>
2022-09-27 13:02:56 +03:00
Vlad Senyuta
eb062359a9
[e2e] Update module structure (#2641) 2022-09-26 17:02:48 +04:00
Oleg Shur
bae5c39cf2
KC: Make viewing/editing config a single view (#2613)
* Get rid of KC edit config page

* fix e2e-checks

Co-authored-by: VladSenyuta <vlad.senyuta@gmail.com>
2022-09-26 13:05:01 +04:00
Arthur
6e8ce77fd3
Issue#2437 (#2626)
* [e2e] refactoring of assertions cross tests #2437

* [e2e] refactoring of assertions cross tests #2437

* [e2e] refactoring of assertions cross tests #2437

* [e2e] refactoring of assertions cross tests #2437

* [e2e] refactoring of assertions cross tests #2437

* [e2e]Fix refactoring of assertions cross tests #2437

* [e2e]Fix refactoring of assertions cross tests #2437

* [e2e]Fix refactoring of assertions cross tests #2437
2022-09-22 15:39:01 +03:00
Vlad Senyuta
b4424fc960
[e2e] Fix produce message test (#2619)
* fix tests on master

* fix produceMessage()

* fix produceMessage()

* fix produceMessage()
2022-09-20 18:29:46 +04:00