# Generated by Selenium IDE
import pytest
import time
import json
from selenium import webdriver
from
selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from
selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
class TestSave2():
def setup_method(self, method):
self.driver = webdriver.Chrome()
self.vars = {}
def teardown_method(self, method):
self.driver.quit()
def test_save2(self):
self.driver.get("http://localhost:8080/entity-wizard")
self.driver.set_window_size(798, 601)
self.driver.find_element(
By.ID, "entity-wizard-title").click()
self.driver.find_element(
By.ID, "entity-wizard-title").send_keys("11111")
self.driver.find_element(
By.ID, "entity-wizard-name").send_keys("1111111")
self.driver.find_element(By.CSS_SELECTOR, ".button_button--contained--secondary__3sWmt > .button_button__label__17Z4y").click()
dragged = self.driver.find_element(By.CSS_SELECTOR, ".accordion_accordion__lJAWV:nth-child(3) .container_container__u60WU:nth-child(1)")
dropped = self.driver.find_element(By.CSS_SELECTOR, ".entity-wizard__form")
action = ActionChains(self.driver)
action.drag_and_drop(dragged, dropped).perform()
self.driver.implicitly_wait(1)
element = self.driver.find_element(By.XPATH, "/html/body/div/div/div[2]/div[2]/div/div[2]/div/div[2]/div/div/div")
action = ActionChains(self.driver)
action.double_click(element).perform()
self.driver.find_element(By.XPATH, "//div[@id=\'root\']/div/div[2]/div[2]/div/div[2]/div/div[2]/div[2]/div/div/div/div[2]/div/div/div/div[2]/div/div/input").click()
self.driver.find_element(By.XPATH, "//div[@id=\'root\']/div/div[2]/div[2]/div/div[2]/div/div[2]/div[2]/div/div/div/div[2]/div/div/div/div[2]/div/div/input").send_keys("11111")
self.driver.find_element(By.XPATH, "//div[@id=\'root\']/div/div[2]/div[2]/div/div[2]/div/div[2]/div[2]/div/div/div/div[2]/div/div/div[2]/div[2]/div/div/input").send_keys("11111")
self.driver.find_element(By.XPATH, "(//input[
@value=\'\'])[3]").send_keys("11111")
self.driver.find_element(By.CSS_SELECTOR, ".inputBase_input-base--focused__3fqwK > .inputBase_input-base__input__2UgCs").send_keys("111111")
self.driver.find_element(By.XPATH, "//div[@id=\'root\']/div/div[2]/div[2]/div/div[2]/div/div[2]/div[2]/div/div/div[2]/div[2]/div/div/div[5]/div[2]/div/div/input").send_keys("1111")
self.driver.find_element(By.XPATH, "//div[@id=\'root\']/div/div[2]/div[2]/div/div[2]/div/div[2]/div[2]/div/div/div[2]/div[2]/div/div/div[6]/div[2]/div/div/input").send_keys("111")
self.driver.find_element(By.XPATH, "//div[@id=\'root\']/div/div[2]/div[2]/div/div[2]/div/div[2]/div[2]/div/div/div[2]/div[2]/div/div/div[7]/div[2]/div/div/input").send_keys("2")
self.driver.find_element(By.CSS_SELECTOR, ".inputBase_input-base--focused__3fqwK > .inputBase_input-base__input__2UgCs").send_keys("2")
self.driver.find_element(By.XPATH, "//div[@id=\'root\']/div/div[2]/div[2]/div/div[2]/div/div[2]/div[2]/div/div/div[3]/div/button/span").click()
self.driver.close()