File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Este es un testing de la funcionalidad de carga y eliminación de expedientes.
2+
3+ def test_fuero (page , login ):
4+ # Click text=Tablas >> span
5+ page .click ("text=Tablas >> span" )
6+ # Click text=Fueros
7+ page .click ("text=Fueros" )
8+ assert page .url .endswith ("/other_tables/fueros" )
9+ # Click text=Agregar
10+ page .click ("text=Agregar" )
11+ # assert page.url == "http://127.0.0.1:8000/OpenLex_pruebs/other_tables/fueros/new/fuero?_signature=9c5e26524c1ba22e5950e19298faf96aa47e9900"
12+ # Click input[name="descripcion"]
13+ page .click ("input[name=\" descripcion\" ]" )
14+ # Fill input[name="descripcion"]
15+ page .fill ("input[name=\" descripcion\" ]" , "prueba" )
16+ # Click text=Enviar
17+ page .click ("text=Enviar" )
18+ # assert page.url == "http://127.0.0.1:8000/OpenLex_pruebs/other_tables/fueros?_signature=04feae14d228f1e0374a0e18482c4150b1d834b8#"
19+ # Click text=prueba
20+ page .click ("text=prueba" )
Original file line number Diff line number Diff line change 1+
2+ def test_instancia (page , login ):
3+ # Click text=Tablas
4+ page .click ("text=Tablas" )
5+ # Click text=Instancias
6+ page .click ("text=Instancias" )
7+ assert page .url .endswith ("/other_tables/instancias" )
8+ # Click text=Agregar
9+ page .click ("text=Agregar" )
10+ # assert page.url == "http://127.0.0.1:8000/OpenLex_pruebs/other_tables/instancias/new/instancia?_signature=6bb7e73c9ce1c8a5173cc913bdaaf72f421d4992"
11+ # Click input[name="descripcion"]
12+ page .click ("input[name=\" descripcion\" ]" )
13+ # Fill input[name="descripcion"]
14+ page .fill ("input[name=\" descripcion\" ]" , "Segunda instancia" )
15+ # Click text=Enviar
16+ page .click ("text=Enviar" )
17+ # assert page.url == "http://127.0.0.1:8000/OpenLex_pruebs/other_tables/instancias?_signature=442d4dabfb40d53d499162c3efb4d218a85daba9#"
18+ # Click text=Segunda instancia
19+ page .click ("text=Segunda instancia" )
Original file line number Diff line number Diff line change 1+
2+ def test_jurisdiccion (page , login ):
3+ # Click text=Tablas
4+ page .click ("text=Tablas" )
5+ # Click text=Jurisdicciones
6+ page .click ("text=Jurisdicciones" )
7+ assert page .url .endswith ("/other_tables/jurisdicciones" )
8+ # Click text=Agregar
9+ page .click ("text=Agregar" )
10+ # assert page.url == "http://127.0.0.1:8000/OpenLex_pruebs/other_tables/jurisdicciones/new/jurisdiccion?_signature=4d34dadde81096e807c60d8d1edc37d86b2a6e5d"
11+ # Click input[name="descripcion"]
12+ page .click ("input[name=\" descripcion\" ]" )
13+ # Fill input[name="descripcion"]
14+ page .fill ("input[name=\" descripcion\" ]" , "Cordoba" )
15+ # Click text=Enviar
16+ page .click ("text=Enviar" )
17+ # assert page.url == "http://127.0.0.1:8000/OpenLex_pruebs/other_tables/jurisdicciones?_signature=90dba84860e5636d3dd047863481054363baf0a7#"
18+
Original file line number Diff line number Diff line change 1+
2+ def test_tipo_de_proceso (page , login ):
3+ # Click text=Tablas
4+ page .click ("text=Tablas" )
5+ # Click text=Tipos de proceso
6+ page .click ("text=Tipos de proceso" )
7+ assert page .url .endswith ("/other_tables/tipoproceso" )
8+ # Click text=Agregar
9+ page .click ("text=Agregar" )
10+ # assert page.url == "http://127.0.0.1:8000/OpenLex_pruebs/other_tables/tipoproceso/new/tipoproceso?_signature=3a63d84ac5c5925f156967bbf138e5f8fa026e80"
11+ # Click input[name="descripcion"]
12+ page .click ("input[name=\" descripcion\" ]" )
13+ # Fill input[name="descripcion"]
14+ page .fill ("input[name=\" descripcion\" ]" , "penal" )
15+ # Click text=Enviar
16+ page .click ("text=Enviar" )
17+ # assert page.url == "http://127.0.0.1:8000/OpenLex_pruebs/other_tables/tipoproceso?_signature=0e3a79c8cb0dfe0968eaee471147a72cfd303d33#"
18+ # Click text=penal
19+ page .click ("text=penal" )
20+
You can’t perform that action at this time.
0 commit comments