undo qso changes, will address those later
这个提交包含在:
		
							父节点
							
								
									6d7d5fb459
								
							
						
					
					
						当前提交
						bfb39c0b1d
					
				
					共有  2 个文件被更改,包括 2 次插入 和 49 次删除
				
			
		|  | @ -422,7 +422,7 @@ | ||||||
| 
 | 
 | ||||||
|                     <?php if(($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) { ?>
 |                     <?php if(($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) { ?>
 | ||||||
|                         <br> |                         <br> | ||||||
|                             <div style="display: inline-block;"><p class="editButton"><a class="btn btn-primary" href="javascript:qso_edit(<?php echo $row->COL_PRIMARY_KEY; ?>)"><i class="fas fa-edit"></i> <?php echo lang('qso_btn_edit_qso'); ?></a></p></div>
 |                             <div style="display: inline-block;"><p class="editButton"><a class="btn btn-primary" href="<?php echo site_url('qso/edit'); ?>/<?php echo $row->COL_PRIMARY_KEY; ?>" href="javascript:;"><i class="fas fa-edit"></i> <?php echo lang('qso_btn_edit_qso'); ?></a></p></div>
 | ||||||
|                             <div style="display: inline-block;"><form method="POST" action="<?php echo site_url('search'); ?>"><input type="hidden" value="<?php echo strtoupper($row->COL_CALL); ?>" name="callsign"><button class="btn btn-primary" type="submit"><i class="fas fa-eye"></i> <?php echo lang('general_more_qso'); ?></button></form></div>
 |                             <div style="display: inline-block;"><form method="POST" action="<?php echo site_url('search'); ?>"><input type="hidden" value="<?php echo strtoupper($row->COL_CALL); ?>" name="callsign"><button class="btn btn-primary" type="submit"><i class="fas fa-eye"></i> <?php echo lang('general_more_qso'); ?></button></form></div>
 | ||||||
|                     <?php } ?>
 |                     <?php } ?>
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,47 +0,0 @@ | ||||||
| // describe("Post QSO Input Form", () => {
 |  | ||||||
| // 	beforeEach(() => {
 |  | ||||||
| // 		cy.login();
 |  | ||||||
| // 	});
 |  | ||||||
| 
 |  | ||||||
| // 	it("Submits a QSO", () => {
 |  | ||||||
| // 		cy.visit("index.php/qso?manual=1");
 |  | ||||||
| 
 |  | ||||||
| // 		cy.get('select[name="mode"]').select("USB");
 |  | ||||||
| // 		cy.get('select[name="band"]').select("20m");
 |  | ||||||
| // 		cy.get('#qso_input input[name="callsign"]').first().type("KS3CKC");
 |  | ||||||
| 
 |  | ||||||
| // 		// Submit the QSO
 |  | ||||||
| // 		cy.get("#qso_input").submit();
 |  | ||||||
| 
 |  | ||||||
| // 		// Check if the QSO was added to the log
 |  | ||||||
| // 		cy.visit("index.php/dashboard");
 |  | ||||||
| 
 |  | ||||||
| // 		cy.get("table > tbody > tr:first").within(() => {
 |  | ||||||
| // 			cy.get("td").eq(2).should("contain", "KS3CKC");
 |  | ||||||
| // 			cy.get("td").eq(3).should("contain", "USB");
 |  | ||||||
| // 			cy.get("td").eq(6).should("contain", "20m");
 |  | ||||||
| // 		});
 |  | ||||||
| // 	});
 |  | ||||||
| 
 |  | ||||||
| // 	it("Delete a QSO", () => {
 |  | ||||||
| // 		cy.visit("index.php/dashboard");
 |  | ||||||
| 
 |  | ||||||
| // 		// Click the link in the first row of the table to open the modal
 |  | ||||||
| // 		cy.get("table > tbody > tr:first").within(() => {
 |  | ||||||
| // 			cy.get("a").first().click();
 |  | ||||||
| // 		});
 |  | ||||||
| 
 |  | ||||||
| // 		// Click the "Edit QSO" button
 |  | ||||||
| // 		cy.get("a").contains("Edit QSO").should("be.visible").click();
 |  | ||||||
| 
 |  | ||||||
| // 		// Click the delete button
 |  | ||||||
| // 		cy.get("a")
 |  | ||||||
| // 			.contains("Delete QSO")
 |  | ||||||
| // 			.scrollIntoView()
 |  | ||||||
| // 			.should("be.visible")
 |  | ||||||
| // 			.click();
 |  | ||||||
| 
 |  | ||||||
| // 		// Click the confirm delete button
 |  | ||||||
| // 		cy.get("button").contains("OK").should("be.visible").click();
 |  | ||||||
| // 	});
 |  | ||||||
| // });
 |  | ||||||
		正在加载…
	
		在新工单中引用